Provides a custom post type, shortcode, functions, and default styles for displaying a resource search input and list of resources.
The resource search and links are added to pages using a ucf-resource-search shortcode.
The ucf-resource-search shortcode has several options:
Classic Layout
- column_width - col-md-4 col-sm-4
- column_count - 3
- default_sorting - term
- layout - classic or card
- meta_key
- meta_value
- non_alpha_section_name - Other
- order_by - title
- order - ASC, DESC
- post_type_name - post, page, etc
- show_empty_sections - true|false
- show_sorting - true|false
- show_sorting - true|false
- show_uncategorized - true|false
- uncategorized_term_name - Uncategorized
- taxonomy - category
Card Layout
- layout - classic or card
- order_by - title
- order - ASC, DESC
- post_type_name - post, page, etc
- resource_link_type_filter - filter results by resource_link_type
- taxonomy - category
- Upload the plugin files (unzipped) to the
/wp-content/plugins
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the "Plugins" screen in WordPress
- Configure plugin settings from the WordPress admin under "Settings > UCF Resource Search".
$ wp plugin install --activate https://github.com/UCF/UCF-Resource-Search-Plugin/archive/master.zip
. See WP-CLI Docs for more command options.- Configure plugin settings from the WordPress admin under "Settings > UCF Resource Search".
- Athena-Framework or Bootstrap 4
- FontAwesome (if using the card layout)
Enhancements:
- Added composer file.
Enhancements:
- Update packages and gulpfile in #35
- Updated social links in the card layout to use differentiating sr-only text in #36
- Added a
card_layout_title_element
shortcode attribute in #36 - Adjusted default underline styles for the resource-links in #36
- Moved resource search initialization JS to the document footer
- Fixed enqueuing of
ucf-resource_search_js
to declare jQuery as a dependency - Fixed some missing variables and CSS class names and values
- Added late JS enqueuing
- Added plugin version cache-busting to enqueued assets
- Updated constants for consistency with other plugins
- Prepended plugin dir to
require
d files in main plugin file - Added Github issue/PR templates and contributing doc; updated gitignore
- Upgraded packages + re-ran gulp
- Added setting to exclude the social media fields from the admin.
- Added card layout option for ucf-resource-search shortcode
- Added fields for social links
- Updated plugin description
- Fixed PHP notices
- Removed Athena classes
- Fixed search
- Initial release
n/a
None
NOTE: 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.