ucf / ucf-document-plugin
Provides a custom post type and taxonomies for managing documents.
Package info
github.com/UCF/UCF-Document-Plugin
Type:wordpress-plugin
pkg:composer/ucf/ucf-document-plugin
Requires
- composer/installers: ~1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-10-20 18:16:53 UTC
README
Provides a custom post type and taxonomies for managing documents.
Description
The UCF Document plugin provides the document custom post type and the document_category and document_tag taxonomies for managing and displaying documents.
Documentation
Head over to the UCF Document Plugin wiki for detailed information about this plugin, installation instructions, and more.
Changelog
0.2.6
Bug Fixes:
- Added extra check to ensure
get_plugin_datais defined.
0.2.5
Enhancements:
- Added composer file.
0.2.4
Bug Fixes:
- Suppressed a potential namespacing-related error.
0.2.3
Enhancements:
- Added
ucf_document_acf_pro_pathanducf_document_acf_free_pathfilter hooks to allow custom ACF install paths to be specified when checking if ACF is activated.
Bug Fixes:
- Fixed a bug where checks to determine if ACF is active weren't firing at the correct time, causing Document fields to not register
- Added plugin dir path to required files in main plugin file
0.2.2
Bug Fixes:
- Updated ACF check from an
is_plugin_activeto aclass_existscheck. #15 Thank you @TheMarkBennett
0.2.1
Documentation:
- Updated contributing doc to reflect the switch from slack to teams.
0.2.0
Enhancements:
- Added configuration option for determining default behavior when clicking a document link.
0.1.0
- Initial pre-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 Depedenecies
Instructions
-
Clone the UCF-Document-Plugin repo into your local development environment, within your WordPress installation's
plugins/directory:git clone https://github.com/UCF/UCF-Document-Plugin.git -
cdinto the new UCF-Document-Plugin directory, and runnpm installto install required packages for development intonode_modules/within the repo -
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 asgulp-config.json.To enable BrowserSync, set
synctotrueand assignsyncTargetthe base URL of a site on your local WordPress instance that will use this plugin, such ashttp://localhost/wordpress/my-site/. YoursyncTargetvalue will vary depending on your local host setup.The full list of modifiable config values can be viewed in
gulpfile.js(seeconfigvariable). -
Run
gulp defaultto process front-end assets. -
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.
-
Activate this plugin on your development WordPress site.
-
Configure plugin settings from the WordPress admin under "UCF Documents".
-
Run
gulp watchto continuously watch changes to scss and js files. If you enabled BrowserSync ingulp-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 readmecommand 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!