Post Types

We utilize many post types on the CCEH and CIHD websites in order to better capture, store, and display various information across the sites.  This makes updating entities easy with that content updated automatically wherever the object is displayed on the sites.

CCEH Post Types

Posts

This is the default WordPress post type and is used for 'News' items.  Utilize this post type for announcements and messages and any news to be displayed on the site. 

Creating Posts

Events

This post type utilizes 'The Events Calendar' (TEC) WordPress plugin.  Event posts automatically have some event-specific meta data fields added to them such as: date, time, location, etc.  Events are displayed under the events calendar and on the sidebar where present.  The events calendar plugin provides functionality for users to subscribe to calendars or to save events to their own calendars.

Creating Events

Seminar Series Events

For seminar talks that have already been given:

Centers*

This post type is to represent each of the Centers associated with CCEH. 

Cores*

This post type is to represent Core Facilities that are associated with CCEH.

-- Coming soon --

Job Postings*

-- Coming soon --

Newsletters*

Newsletter post types are for the quarterly newsletters that CCEH publishes and can be found here.  

Creating Newsletters

P&F Projects*

This post type represents all the projects funded by the CCEH Type A or B funding awards.  They can be found via the link under the 'Funding' menu of the website which leads to the project page.  This page allows people to filter projects by year.  The year filters are accomplished via a Tabs widget. Each tab has a Post Grid (another WP Widget - and the grid item design is defined in the WPBakery Page Builder -> Grid Builder) are defined in set up to display posts of type 'P&F Project' for the particular year.  The Post Grid has an option to include a filter as well and that is set up to allow filtering by Associated CCEH Center. 

Protocols*

This is a simple post type that stores information about protocols shared by CCEH centers.  Protocols are displayed in the protocol directory using the 'Posts Table Pro' plugin. The protocol table is defined in the Post Tables settings which can be found in the Post Tables menu for site admins. Protocols are also listed under each center.

Creating Protocols

Videos*

This is a simple post type that stores information about different videos CCEH has posted.  Videos are displayed in the video directory using the 'Posts Table Pro' plugin. There are various tables defined for each of the main video topics.  The settings for these can be found in the Post Tables menu for site admins

Creating Videos

All starred post types are generated using the ACF Plugin

CIHD Post Types

Posts

This is the default WordPress post type and is used for 'News' items.  Utilize this post type for announcements and messages and any news to be displayed on the site. 

Creating Posts

Events

This post type utilizes 'The Events Calendar' (TEC) WordPress plugin.  Event posts automatically have some event-specific meta data fields added to them such as: date, time, location, etc.  Events are displayed under the events calendar and on the sidebar where present.  The events calendar plugin provides functionality for users to subscribe to calendars or to save events to their own calendars.

Creating Events

Seminar Series Events

-- Coming soon --

Job Postings*

-- Coming soon --

Members*

This post type represents all faculty and staff associated with CIHD.  The member list populates the Utah CIHD Team on the home page, the faculty list, the member list and the contact us page depending on the attributes assigned to each member in the 'Roles' box. 

Creating/Editing Members

Contact Information
Web Content

All starred post types are generated using the ACF Plugin

Changing Post Types

A post type can be changed easily thanks to the 'Post Type Switcher' WordPress plugin. 

Most of the custom posts should not show their featured image at the top of its content. By default, a normal 'Post' will be set up to display it. Also, normal posts will display the sidebar by default whereas sometimes we do not want the sidebar to be displayed. Both the options to control the featured image and sidebar displays are only able to be seen/edited when editing a normal post. But, if a featured image is added to a custom post type, sometimes the post is triggered to display it even though the option to hide it is not available to that post.

If you need to edit hiding the featured image or sidebar items for a custom post type, you will need to switch the post type to 'Post' and then edit those fields, and finally set the post type back to whatever is appropriate: