Resource Content Type

Resources are a custom post type  that feature a link and text that describes the resource. There are additional categories and taxonomies added that allow resources to be filtered.

Resources are listed in a grid format with cards representing each resource and a pop-up modal window with additional information. The Resource Page template displays this grid and filters which resources appears by resource type. There is an additional search feature on the resource page which allows you to filter resources by text, school, and campus.

Resources are also searchable using the site’s search bar.

Adding and Editing a New Resource

On the WordPress Admin side navigation, find the Resource option. You can add a new resource by clicking “Add Resource” or see an existing list of resources by clicking “All Resource”. From the list of resources, you can select any resource in order to edit it.

In the screen that appears after editing or adding a new resource, you will see the below fields. Enter the information as necessary.

  • Resource Type – The resource type for this resource can be added in the sidebar block on the right. You may select multiple resource types.
  • Resource Name – Main title for the resource.
  • Campus – Selects an associated campus for the resource, located on the right sidebar. You may select multiple campuses. See below instructions for adding additional campuses.
  • School – Selects a school associated with the resource, located on the right sidebar. You may select multiple schools. See below instructions for adding additional schools.
  • Location – Selects a location for the resource, located on the right sidebar. You may select multiple locations. Locations also have an address attached to them, which will display on the pop-up modal window. See below for instructions on adding new locations.
  • Excerpt – A short summary  of the resource. This is the text that displays on the resource card on the grid pages. This text should be short, no longer than 100 characters.
  • Long Summary – A more detailed description of the resource. This text will display on the pop-up modal. This text can be longer than the excerpt.
  • Image – A featured image to display on the resource card and modal.
  • Link – the URL link to the resource.
Resource Types

Resource Types are the main categories attached to a resource. Resource pages will only display resource belonging to a single type. You can modify or add additional Resource Types by locating the “Resource Type” link that will appear under or in the fly-out menu from the “Resource” option.

Editing Resource Locations

You can modify or add new available resource locations by clicking or hovering over the Resource button in the  left side navigation and selecting Locations.

To add a new location:

  1. Enter the name of the location in the Name field on the left hand side
  2. You may enter an optional slug. If not, WordPress will auto-generate one from the name. This field is not currently used.
  3. Parent Location and Description fields are not currently used.
  4. In the bottom fields beneath description, enter the address information using text input.
  5. Address fields are optional and can be written in any format. However, street address and room no. will share a line and City/State/Zip will share another line.
  6. Click Add New Campus to save.

To edit a location:

  • Select any of the existing locations on the right hand list. Click on Quick Edit if you just need to edit the Name and Slug.
Editing Resource Schools and Campus

Schools and Campuses are an additional taxonomy type that can be modified. To find the menu for both, either click or hover on Resource in the left hand side navigation. Select either Schools or Campuses

To edit an existing School or Campus:

  • Select an existing option on the right hand listing to edit, or click on quick edit.

 

To add a new School or Campus:

  1. Enter in a Name
  2. Type in a unique slug. The Resource pages uses the slug to generate an ID for filter selection. Therefore, no slug should have the same text.
  3. It is recommended that you append “-school” at the end of any School and “-campus” at the end of any campus. A slug should be all lower case and a single world with no spaces. For example, a slug for “Bayview Medical Center”  should be “bayview-school” for a School or “bayview-campus” for a Campus. This would prevent any naming conflicts between a School and a Campus slug.
  4. Click Add New Campus to save.