ucf / ucf-pegasus-list-shortcode
Provides a shortcode for displaying the latest issues of Pegasus, UCF's official alumni magazine.
Package info
github.com/UCF/UCF-Pegasus-List-Shortcode
Type:wordpress-plugin
pkg:composer/ucf/ucf-pegasus-list-shortcode
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:18:15 UTC
README
Provides a shortcode for displaying the latest issues of Pegasus, UCF's official alumni magazine.
Description
Provides a shortcode for displaying the latest issues of Pegasus, UCF's official alumni magazine.
Documentation
Head over to the Pegasus List Shortcode plugin wiki for detailed information about this plugin, installation instructions, and more.
Changelog
1.1.2
Enhancements:
- Added composer file.
1.1.1
Enhancements:
- Updated the "modern" layout to support the Athena Framework v1.1.1+
1.1.0
Enhancements:
- Added new "modern" layout for the [ucf-pegasus-list] shortcode, which displays the cover story for each issue in the list styles to match the UCF News Plugin's modern news layout.
1.0.2
Enhancements:
- Upgraded gulp and added editorconfig file
- Added absolute file includes to the plugin's main file
- Moved layout definitions to their own folder in the repo
Bug Fixes:
- Fixed issue with the [ucf-pegasus-list]'s
titleattribute not allowing empty values to be passed to it to omit the title<h2>in the default layout - Updated the default layout's "Read More" button to link to the issue's cover story instead of the issue itself
- Fixed a couple of typos
1.0.1
Enhancements:
- Added ability to specify a fallback message when no issues are available to display (via inner shortcode contents, similarly to some of our other shortcodes). Example usage:
[ucf-pegasus-list]No results found.[/ucf-pegasus-list]
Bugfixes:
- Fixed incorrect constant name "HOUR_IN_SECONDS", which prevented transient expiration times from being set properly.
- Updated default feed settings to point to ucf.edu/pegasus/ instead of pegasus.ucf.edu
- Added check in
ucf_pegasus_list_display_default_content()to ensure$itemsis an array if it is set - Added additional hardening to
UCF_Pegasus_List_Feed::get_issues()to ensure the feed response looks valid
1.0.0
- Initial release
Upgrade Notice
n/a
Development
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 UCF-Pegasus-List-Shortcode repo into your local development environment, within your WordPress installation's
plugins/directory:git clone https://github.com/UCF/UCF-Pegasus-List-Shortcode.git cdinto the new UCF-Pegasus-List-Shortcode directory, and runnpm installto install required packages for development intonode_modules/within the repo- Run
gulp defaultto process 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 "Settings > UCF Pegasus List".
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.