In this post, we show how to easily create templates for displaying your custom posts on the front-end, without programming. You design the template once and apply it to all elements of a post type. Editing this template updates all the posts it is used for.

We use Toolset Types and Views Lite plugins which are available for download from your account’s download page.

 

Creating the templates

Toolset allows you to create your templates with or without using a page builder. Currently, you can use the following page builders:

  • Elementor
  • Divi
  • Beaver Builder
  • WPBakery Page Builder
  • Avada
  • Toolset’s own Layouts page builder

If you prefer to work without a page builder, you can use the editor provided by the Views Lite plugin. You insert shortcodes for displaying different post information, like the title, featured image, and custom fields. Then you can wrap the shortcodes with any custom HTML to apply the styling and layout.

You can use any custom HTML markup to design the template
You can use any custom HTML markup to design the template

 

For a step-by-step guide, please visit the Toolset page about creating templates to display custom posts.

Controlling theme options

But that’s not all! Toolset features additional integration with some popular WordPress themes. This allows you to control which theme elements to display on the front-end for the templates you design. For example, you can hide or show sidebars, post titles, widget areas, and more.

Theme options when designing a template on a site that uses the Astra theme
Theme options when designing a template on a site that uses the Astra theme

This is currently supported for the following themes:

  • Astra
  • Avada
  • Divi
  • GeneratePress
  • Genesis
  • OceanWP

Give it a try!

You already have all the tools you need to get started. See how powerful this feature is for building custom sites, without programming.

If you have any questions, leave us a comment below and we’ll reply!

What’s next?

In the next post, we will see how to create custom lists of any content in your site and display it on the front-end.

Other posts in this series

Creating custom content for multilingual sites with Toolset

Build Queries and Display Content with Views Lite