Skip to content

Workshops

Daniel Andrade edited this page Mar 27, 2020 · 5 revisions

To set up the Workshops section first we need to understand the structure of a single Workshop.

Field structure

  • Title [Required]
  • Description [Required]
  • Title Image [Required]
  • Secondary Image [Required]
  • Owner [Not Required]

It's important to notice that the 2 images are required.

Before you start, make sure you have the Advanced Custom Fields PRO already installed and active.

Set-up instructions for custom post

  1. Add the "Workshops" plug-in in to your plug-ins folders
  2. Go to your site Admin area, and activate the plug-in
  3. Go to your "Custom Field" and create a group called "Workshops"
  4. Set the Location rules to "Post Type is equal to Workshops"
  5. Add "Title Image" as a field type image, and change the Return Format to "Image URL"
  6. Add "Secondary Image" as a field type image, and change the return format to "Image URL"
  7. Add "Owner" as field type text

Now you are ready to add new Workshops using the Workshop tab in your admin area

Set-up for the page

  1. Go the Pages in your admin area
  2. Create a new page with the slug "workshop". This is very important because we have dependencies with this name.
  3. Add your title and your content.
Clone this wiki locally