Download the PHP package ucf/today-utilities without Composer
On this page you can find all versions of the php package ucf/today-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ucf/today-utilities
More information about ucf/today-utilities
Files in ucf/today-utilities
Package today-utilities
Short Description Feature and utility plugin for the UCF Today website.
License
Informations about the package today-utilities
Today Utilities
Feature and utility plugin for the UCF Today website.
Description
Features and utilities for the UCF Today WordPress site that are otherwise not suited for inclusion within a theme.
Documentation
Head over to the Today Utilities wiki for detailed information about this plugin, installation instructions, and more.
Changelog
1.5.0
Enhancements:
- Added cache clearing logic for the email builder.
1.4.0
Enhancements:
- Added tags to the taxonomy array for resource links.
1.3.1
Enhancements:
- Added composer file.
1.3.0
Enhancements:
- Defined ACF field groups and fields in PHP.
1.2.0
Enhancements:
- Added a concise RSS feed to support the UCF Mobile App.
1.1.1
Enhancements:
- Added a new REST endpoint,
main-site-header-story, for use on the main site homepage's header (via the[ucf-news-feed]shortcode) for displaying a featured story. - Renamed the "EDU News Feed" options page to "Main Site Options", and added options for setting a featured header story for the main site homepage.
- Added a new wp-cli command,
wp today embeds flush, which removes all bad oEmbed metadata associated with posts (failed responses for oEmbeds). - Upgraded packages
1.1.0
Enhancements:
- Added a new Author taxonomy (
tu_author) and Statement post type (ucf_statement). - Updated admin columns for posts and the Statement post type to better differentiate between the Author taxonomy and the original publishing author ("publisher") of the post.
- Added a new REST endpoint,
/ucf-news/v1/statement-archives/, that lists grouped links to vanilla Statement endpoints, filtered by year and author. - Modified the
tu_authorfield on the default Statements REST endpoint to include additional author information for convenience.
Bug Fixes:
- Fixed ordering of GMUCF "featured stories row" columns.
1.0.12
Enhancements:
- Added a filter for the
acf/fields/post_object/queryfilter hook to modify the orderby/order rules of fetched posts in ACF post select inputs, so that posts are sorted by last modified/published date instead of by title. - Removed some references to nonexistent 'photoset' post type in the ACF config.
1.0.11
Enhancements:
- Extended the request timeout for oEmbed content fetches
- Updated packages
1.0.10
Enhancements:
- Added primary category and tag to post REST API results
1.0.9
Documentation:
- Updated contributing doc to reflect the switch from slack to teams.
1.0.8
Bug Fixes:
- Fixed undefined index 'paged' notice on main site stories feed.
1.0.7
Bug Fixes:
- Corrected PHP notice dealing with accessing an array index that was not set.
1.0.6
Enhancements:
- Added oEmbed support for Juxtapose embeds.
1.0.5
Bug Fixes:
- Added default posts API parameters to the main-site-stories endpoint.
1.0.4
Bug Fixes:
- Updated the image size used for spotlight images.
1.0.3
Bug Fixes:
- Added missing support for
category_slugsandtag_slugs paramsin REST API results for posts. Necessary for compatiblity with the UCF News plugin.
1.0.2
Bug Fixes:
- Updated
tu_add_author_byline_to_post_feedfunction to use proper parameter. - Added GMUCF Announcements feed logic and customizer option.
1.0.1
Bug Fixes:
- Updated feed to output image size which is valid.
1.0.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
Instructions
- Clone the Today-Utilities repo into your local development environment, within your WordPress installation's
plugins/directory:git clone https://github.com/UCF/Today-Utilities.git cdinto the new Today-Utilities 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.
- 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!