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*

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

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 and Protocols

The Video and Protocol posts 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

P&F Projects

The P&F Project post generated by WPForms should (mostly) be good to go as is. P&F Projects don't have their own 'pages' though there is a template to create a page for them (P&F Project Template).  At this time, they are not accessed as a page on their own from anywhere on the site but rather, they appear in a table on the Funding Page and in grids on the P&F Project Page so it is not necessary to assign the template or add content to the post. 

When verifying a submitted entry, you may need to edit a few fields

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

 

Troubleshooting

Things to look for if a post isn't displaying how/where you expect it to

Post Type

Make sure the post type is correct for the post.
For past events like seminar talks, you may need to change them from 'Event' to a normal 'Post'. See Seminar Series Events.

When switching post types, sometimes the sidebar or a featured image will automatically be added but is not desired.  To remove these, you will need to change the post back to the default 'post' type and then mark 'Hide Featured Image' and select 'No Sidebar'. See Changing Post Types

Shared Posts / Events

Sometimes posts or events just act funky across the sites.  If updating an event from one site makes it looks weird on the other, you can always unselect the 'Publish on' option and edit them independently.

Metadata / Taxonomies

Make sure all metadata is assigned.  Example taxonomies that are used to filter posts on various pages are:

News / Post Grids

If news or post items look funny in grids - or if there are blank spaces where an item should be - check that the post has a featured image and some sort of text on the page or that an excerpt is filled out.  

The main news feeds for each site (CCEH / CIHD) shows each post's title, date, and excerpt next to the featured image.  If there isn't a featured image, it is fine, but doesn't look as nice, so if possible, add one - even if it's just the CIHD logo or something like that...

For example, the CCEH home page has a grid of news items on it.  The grid depends on the featured image and the excerpt to populate the elements.  If an item has neither, it will just have an empty space where that post should be.  If a post is composed of just an image, you can either add text to describe the images on the post itself (which WordPress will use as the page's excerpt) or you can enter text manually into the excerpt field.  For seminar talks that have past and have been changed to be type 'Post', you can add the presenter's image as the featured image.