WordPress Content Management

Documentation for adding, updating and maintaining CIHD and CCEH content for the websites.

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.

Post Types

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*

-- Coming soon --

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

Post Types

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

Post Types

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:

CCEH Content Submissions

CCEH has been set up to allow users to submit new content via https://cceh.io/submit-content/

This page is not linked from the website anywhere and is protected by a simple password (CCEH) to help avoid spam submissions.

All submission forms are set up via the WPForms plugin.  They are set up to email the submitter a confirmation along with emailing administrators to notify them of the submission. 

There are 8 separate forms depending on what is being submitted. The Content Update is meant for requests to existing content or for changes to the site. The seven other forms are for new content and each will automatically create a new post of the appropriate type on the CCEh site. The posts created from content submissions will have a draft status and need to be marked as published before they will be visible on the site.  See the next page for other details involved in getting the posts ready for publication.

Prepping Content CCEH Submission Posts for Publishing

After content has been submitted, posts will be automatically created for the various new content submissions.  Some may need some editing before publishing them.

Videos, Protocols, and P&F Projects

The post generated by WPForms should (mostly) be good to go as is. These post types don't have their own 'pages' but rather, they appear in grids and/or tables in other places on the site.  The important thing is that the details are entered correctly and they are assigned the correct post type.  Once the 'posts' are published, you can verify them across any of the following site pages that apply:

Videos and Protocols should have their URLS defined under the 'Page Links To' box and should be set to to open in a new tab. For new video links and protocols that are submitted via the content submission form, this should already be set.

Screenshot 2025-03-10 at 2.13.38 PM.png

Job Postings and Featured Publications

These posts should mostly be good to go as well.  If the WPBakery templates aren't automatically applied, they can be applied in the WPBakery backend page builder editor.  The templates for these types are called 'Job Posting Page' and 'Featured Publication Page'.
Screenshot 2025-03-07 at 2.08.07 PM.png
Screenshot 2025-03-07 at 2.08.41 PM.png

 Featured Publications

News Items and Events

These can just be styled in whatever way looks good with the exception being a seminar series talk - those should be given the template 'CCEH Seminar Event Page'.  

For seminar talks that have already been given:

Sharing Content Across CCEH and CIHD Sites

We have utilized a plugin (Simple Multisite Crossposting) that makes it easy to share content across the two sites.  While editing, any post can be marked to be shared from the 'Publish On' box.

Publish on.png

There are a couple of caveats...

Events

In the past, there have been issues with some custom fields not coming across, or the WPBakery templates not coming across.  I have resolved these issues (to the best of my knowledge), but if things are really not playing nice, you can always share the post, then go to the other site, open the post for editing, un-share it be un-clicking the original site from the 'Publish On' box and then save.  This will unlink the posts which can then be edited independently.

Custom Styling

Both CCEH and CIHD have custom css that controls a lot of the styling throughout the pages. There is a lot of shared styling across the pages. Several of the post grids rely heavily on the custom styles. Also the seminar event and series flyers rely on custom styling - both for viewing on the web and for the print settings. 

The custom styling can be seen and edited from the WPBakery Page Builder Admin Menus here: CCEH and CIHD

Both style sheets are kind of chaotic at the moment and could be cleaned up a bit (or a lot)... That is to come. 

Custom Javascript

Both CCEH and CIHD have custom javascript defined.  The javacript helps provide print buttons for the seminar event and series flyers, updates some breadcrumb links, and also updates some URLs to be links instead of the URL text.  In some instances, a URL from a custom field is displayed as text; but in more recently developed pages, the URLs are displayed as links with custom text (ie 'Details') thanks to the 'ACF-VC Integrator' plugin that works with WPBakery Builder and ACF to offer better ways to display custom fields.

The sites' custom javascript can be seen and edited from the WPBakery Page Builder Admin Menus here: CCEH and CIHD