Using Pro to create theme templates

I’m just working out if the following is even possible.

Example scenario

I create a landing page using Pro and develop a layout using the new Grid element, let’s say this page displays 6 of the latest posts.

Is there a way to use this layout to become the actual index page for posts. So I know you can use the dynamic content to pull in data such as the featured image but I only see an option to pull in the featured image associated with the actual page you are on, rather than the featured image of a series of posts in a specific category.

I’m finding it quite hard to explain but in essence can Pro be used to create actual wordpress templates rather than Pro templates.

If not, is this something that is being considered for development in the future as it would make handing over to clients much easier.

Thanks in Advance

Hello @henrybag,

Thanks for writing in and the suggestion.

Currently, what you are describing is not available for Pro where you can store a template and edit it on the go and the pages using the template gets updated when you update the template.

This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive. Thanks!

Hi

That’s what I suspected - do you think it’s possible to create a layout using the visual editor in Pro and then use the source code in a custom template? So let’s say I created a custom post type and wanted a layout for that custom post type in pro then used the source code for the layout in the template.

Then replacing things like the title and the featured image with the appropriate wordpress call such as

<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. the_post_thumbnail( 'full' ); } ?>

So within the loop it might use the layout source code created by pro and then add the calls?

Hello @henrybag,

You might want to look into Global Blocks and Dynamic Contents:

The dynamic content can pull information from the current post so if you partner that with the global block which you can use and update on the fly, it might work as what you’re trying to do right now.

Another option would be through custom coding as you mentioned.

Hope this helps you get started.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.