WP Manifestindependent plugin directory
manifest / content / ucf-location-cpt-plugin

UCF Location Custom Post Type WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Custom post type for defining locations.

★ 0stars
1composer installs
v0.4.0latest · 4mo ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/ucf/ucf-location-cpt-plugin/archive/refs/heads/master.zip

On Packagist as ucf/ucf-location-cpt-plugin:

composer require ucf/ucf-location-cpt-plugin
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Provides a custom post type and custom fields for describing locations.

Description

The UCF Location Custom Post Type plugin provides the location custom post type and custom fields for describing physical locations.

Documentation

Head over to the UCF Location Custom Post Type wiki for detailed information about this plugin, installation instructions, and more.

Required Plugins

These plugins must be activated for the theme to function properly, and/or to satisfy core feature requirements for ucf.edu.

Changelog

0.4.0

Enhancements:

  • Updated importer to handle new feed format from the search service instead of map.ucf.edu

0.3.5

Bug Fixes:

  • Corrected orderby bug on location-search shortcode.

0.3.4

Enhancements:

  • Added composer file.

0.3.3

Bug Fixes:

  • Corrects an issue where duplicate post names are generated due to the stripping of the abbreviation during the import.

0.3.2

Enhancements:

  • Removed plugin version constant in favor of retrieving the current version number from the main plugin file automatically when needed

0.3.1

Enhancements:

  • Updated JS for the locations typeahead shortcode to only enqueue on pages that use that shortcode.
  • Renamed handles for third-party JS to establish consistency between other UCF plugins that use equivalent scripts and allow a single set of scripts to be used. This update removes checks for existing scripts from the Degree Search Plugin.

0.3.0

Enhancements:

  • Adds an old fashion form for searching locations, implemented via shortcode on pages. The [location-search] will add the form and results to any page it's added to.

0.2.3

Bug Fixes:

  • Updates the logic that determines if images need to be reimported.

0.2.2

Enhancements:

  • Updated location import and association scripts to match against existing object types in WordPress and against Map using case-insensitive matching.

0.2.1

Enhancements:

  • Added field to add a spotlight.

0.2.0

Enhancements:

  • Updated the location importer to support the updated location feed schema from Map's upcoming v1.13.5 release.
  • Updated the location importer's create_new() and update_existing() methods to require incoming location data to have a title/name set. If the incoming location doesn't have a name/title, processing of that location is skipped and an error is stored + spat out when the import finishes.
  • Bumped minimum PHP version requirement to 7.0 to support null coalescing.

Bug Fixes:

  • Moved the step in the location importer that unsets an existing location post from existing_locations to only occur when an existing location is successfully updated.
  • Fixed errors in the location importer caused by attempting to loop through map_data when get_data() returns false.
  • Fixed output of error messages at the bottom of print_stats() in the location importer.

0.1.3

Enhancements:

  • Updated UCF_Location_Post_Type::location_append_meta() to ensure events_markup post meta is empty when no events are returned.
  • Updated CONTRIBUTING doc.

0.1.2

Bug Fixes:

  • Corrected a syntax error on the admin javascript.

0.1.1

Enhancements:

  • Adds the form-control-search class to the typeahead input.

0.1.0

  • Initial release

Upgrade Notice

n/a

Development

Note that compiled, minified css and js files are included within the repo. Changes to these files should be tracked via git (so that users installing the plugin using traditional installation methods will have a working plugin out-of-the-box.)

Enabling debug mode in your wp-config.php file is recommended during development to help catch warnings and bugs.

Requirements

  • node
  • gulp-cli

Plugin Requirements

  • Advanced Custom Fields Pro or Free > 5.0.0

Instructions

  1. Clone the UCF-Location-CPT-Plugin repo into your local development environment, within your WordPress installation's plugins/ directory: git clone https://github.com/UCF/UCF-Location-CPT-Plugin.git

  2. cd into the new UCF-Location-CPT-Plugin directory, and run npm install to install required packages for development into node_modules/ within the repo

  3. Optional: If you'd like to enable BrowserSync for local development, or make other changes to this project's default gulp configuration, copy gulp-config.template.json, make any desired changes, and save as gulp-config.json.

    To enable BrowserSync, set sync to true and assign syncTarget the base URL of a site on your local WordPress instance that will use this plugin, such as http://localhost/wordpress/my-site/. Your syncTarget value will vary depending on your local host setup.

    The full list of modifiable config values can be viewed in gulpfile.js (see config variable).

  4. Run gulp default to process front-end assets.

  5. If you haven't already done so, create a new WordPress site on your development environment to test this plugin against, and install and activate all plugin dependencies.

  6. Activate this plugin on your development WordPress site.

  7. Configure plugin settings from the WordPress admin under "Locations".

  8. Run gulp watch to continuously watch changes to scss and js files. If you enabled BrowserSync in gulp-config.json, it will also reload your browser when plugin files change.

Other Notes

  • This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the gulp readme command has been run before committing README changes. See the contributing guidelines for more information.

Contributing

Want to submit a bug report or feature request? Check out our contributing guidelines for more information. We'd love to hear from you!

Releases

15 releases.

Tag
Published
v0.4.0 latest
May 27, 2026 4mo ago
Aug 22, 2025 1 year ago
Mar 22, 2023 3 years ago
Mar 23, 2021 5 years ago
Jan 27, 2021 5 years ago
Jan 22, 2021 5 years ago
Jan 6, 2021 5 years ago
Nov 16, 2020 5 years ago
Sep 4, 2020 6 years ago
Aug 3, 2020 6 years ago
Mar 24, 2020 6 years ago
Feb 13, 2020 6 years ago
Nov 19, 2019 6 years ago
Oct 7, 2019 7 years ago
Oct 1, 2019 7 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

UCF Location Custom Post Type 0.4.0 · audited by WP Registry

No security issues found.

Audited release
0.4.0
Findings
none
Worst severity
—
Content hash
5ece21babd7b24303a81f874…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.