Provides a custom post type for describing people and a taxonomy for people groups.
Provides a custom post type for describing people and a taxonomy for people groups.
NOTE: This plugin assumes that People posts will primarily be displayed on other pages and posts using shortcodes, such as the UCF Post List shortcode, or explicitly listed in custom theme templates. The Person custom post type does not automatically generate archives by default. If you'd like archives to be generated for the Person post type on your site, you can override this setting within your theme's functions.php file like so:
function mysite_person_post_type_args( $args ) {
$args['has_archive'] = true;
return $args;
}
add_filter( 'ucf_people_post_type_args', 'mysite_person_post_type_args', 10, 1 );
If you add this snippet to your theme, you'll need to flush permalink settings for the changes to take effect (Setting > Permalinks; click "Save Changes"--you don't have to adjust any settings).
- 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]
$ wp plugin install --activate https://github.com/UCF/UCF-People-CPT/archive/master.zip
. See WP-CLI Docs for more command options.
Enhancements:
- Added composer file.
Enhancements:
- Added REST endpoint support for Person post type.
- Auto-generated archives for the Person post type have been disabled. You should flush permalinks on your site after upgrading to v1.0.3; see upgrade notices below
- Added header for GitHub Updater support.
- Cleaned up some php warnings related to empty $meta object.
- Initial release
Upon upgrading to version 1.0.3, you should flush your site's permalink settings manually (Setting > Permalinks; click "Save Changes"--you don't have to adjust any settings).
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.