Provides a shortcode and default styles for displaying RSS feeds within post content.
Provides a shortcode and default styles for displaying RSS feeds within post content.
Head over to the UCF RSS Feed Plugin wiki for detailed information about this plugin, installation instructions, and more.
Enhancements:
- Added composer file.
Bug Fixes:
- Corrected a bug where the cache_expiration option would be returned as an empty string, causing an invalid string to integer operation to occur when the conversion from hours to seconds was calculated.
Enhancements:
- Added plugin version number to enqueued stylesheet for cache busting.
- Added CONTRIBUTING.md doc, Github issue/PR templates, and linter configs to the project.
Bug Fixes:
- Fixed Strict Standards PHP notice
- Initial release
n/a
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.
- node
- gulp-cli
-
Clone the UCF-RSS-Feed-Plugin repo into your local development environment, within your WordPress installation's
plugins/
directory:git clone https://github.com/UCF/UCF-RSS-Feed-Plugin.git
-
cd
into the new UCF-RSS-Feed-Plugin directory, and runnpm install
to 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
sync
totrue
and assignsyncTarget
the base URL of a site on your local WordPress instance that will use this plugin, such ashttp://localhost/wordpress/my-site/
. YoursyncTarget
value will vary depending on your local host setup.The full list of modifiable config values can be viewed in
gulpfile.js
(seeconfig
variable). -
Run
gulp default
to 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.
-
Activate this plugin on your development WordPress site.
-
Configure plugin settings from the WordPress admin under "UCF RSS Feeds".
-
Run
gulp watch
to 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.
- 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.
Want to submit a bug report or feature request? Check out our contributing guidelines for more information. We'd love to hear from you!