Zeal Custom Post Types: Gallery, Testimonial, Event, News Item
June 9, 2017
A ZEAL Pro Gallery item is just one of five Custom Post Types Smartcat has created for this theme. Setting up the Gallery only takes a few moments.
The first thing you need to do is create the content that will be featured in your Gallery feed. This means adding photographs with titles under Gallery > Add Gallery Item in your WordPress dashboard.
Upload the image under Featured Image in the right sidebar. Add a title, then click Publish. That’s it. You’ll notice there is no central editing area to upload media or add any additional information. Its extremely simple compared to a standard WordPress post.
If you want to display your Gallery in a Widget, (eg. on your Frontpage) simply go to Customize > Widgets, click “Add A Widget,” and select the Zeal Gallery Widget. Click “Save & Publish.”
The Widget will automatically output the content you’ve created in Step 1.
If you want to display the Gallery on their own page, go to Pages > Add New in your WordPress dashboard.
Title your page appropriately (eg. Photography, Artwork, Gallery, Portfolio) then select the Gallery Page Template from the dropdown list in Page Attributes, a box in the right sidebar below the Publishing Options.
You do not need to insert anything into the page copy itself. Just click Publish. Your Gallery posts will now automatically appear on this page when you visit it, in the same way Posts appear on your Posts Page.
You can also set the Page Template from Pages > Quick Edit > Templates.
You can follow this same process for setting up a feed of ZEAL Pro’s other custom post types, just like setting up your feed of images. The other Custom Post Types include:
- ZEAL Pro FAQs
- ZEAL Pro Events
- ZEAL Pro New Items
- ZEAL PRO Testimonials
Each post type requires different information information.
FAQs: Title (the Question) and page body (the answer)
EVENTS: Title, Event Date, Start Time, End Time, Location, Learn More URL, and page body (description
GALLERY ITEM: Title, Featured Image
NEWS ITEM: Title, Featured Image, and page body (description)
TESTIMONIALS: Title (the person the quote is attributed to) and the page body (The testimonial copy)