You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brett Shumaker edited this page Oct 14, 2015
·
2 revisions
##Init
load class(es)
include all scripts/styles
add admin pages
load text domain
activation/deactivation hooks
##Register Staff Member CPT
register post type
set up staff group custom taxonomy
custom metaboxes
change "Title" text
change "Featured Image" title
hide "Excerpt" box
custom columns for admin view
##"Order" page
ability for drag and drop ordering of Staff Members (menu_order)
saves automatically
##"Templates" page
list available template tags
"Staff Loop Template" text box
Option to view default template
"Staff Page CSS" text box
option to write external CSS file
option to view default CSS
##"Usage" page
info about how to use the shortcode and available attributes
##"Options" page
Allows a user to overwrite the "Staff Member" slug, title and singular title. This is for users that need to change it to something like "Doctors" to have it make sense for their use case. Also changes the CPT permalink rewrite.
##Shortcode
Process attributes to setup wp_query
Process staff loop template and replace template tags with post content