Using Cloud Templates for a general page layout & CPT single post layout

Posted in: Newspaper
Post count: 3

Hi,

I’ve just bought the newspaper theme last week and starting to working with it on a development site. I imported the Gourmet Pro Demo and I really like the flexibility of the theme a lot but now I come across a few issues. I

The pages I created (i.e. Contact Page, Woocommerce pages, About us page, …) don’t have the same layout as the rest of the site. Way smaller container width, other font, etc … I was looking for a way to define a general layout for pages with the Cloud Templates but I can’t find a way to do that? Is this possible?
I don’t want to “build” each page individually actually with the TagDiv builder. That would be a hassle. I would like to create a general layout for them so we can just inject the textual content for that page in the layout.

Secondly I would like to create a “single post” layout for a custom post type I created. I would like them to look a bit different thant the single post layout that has been imported by the Gourmet PRO demo. How can I do that?

P.S. I am a developer so I can write code myself 😉 If it’s not possible in the UI but it can be done by code that’s also fine for me!

Thanks

Post count: 18283

Hello !

Much code is not needed, maybe some css adjustments.

As for the width of your templates you have some pre-set settings for the ROWs as you can see in our video here: https://www.youtube.com/watch?v=fa7GenCHcBU&t=5s

You can create multiple post types and assign them to the category or individually as you can see here: https://www.youtube.com/watch?v=I1R3j1QYod0

I hope this helps.

Thank you !

Post count: 3

Hi Vlad,

I think you misunderstood the question 🙂
My problem is I would like to create a general page template for all my content pages (not posts). Like I mentioned my “About”, “Contact”, “Woocommerce” pages, etc… Currently these just are pages with content that’s added by the Classic Editor.
I don’t want to build each page with the TagDiv page builder invididually. The only thing that makes them different is their textual content so not handy if I would have to design them each. Also when I want to change the layout a bit for pages I would have to change them all. But there is no way to assign a Cloud Template to all pages it ssems.

In your second video you don’t show how you would assign a single post template to a specific custom post type. I’ll give an example. If I create a “Recipes” custom post type and I would to create a Single Template that only should be applied to posts of this “Recipe” type. How would I assign the Cloud Template I created only to these Recipes and not to all posts of all post types?

Post count: 18283

Hello !

I am sorry for the misunderstanding !

At the moment there is no option to preset a template for each page but what you can do is to create one template, save it and after that you can copy the code of the page: https://www.screencast.com/t/R8MPhANso ; https://www.screencast.com/t/dvLw4KzZB and you cna use this shortcode on the next page you. Please note that when you will open the new page using tagDiv Composer you will receive a notice that states ” This content has not been created with Tagdiv Composer” simply resave that page and that will work.

Unfortunately for the moment CPTs cannot be used with Cloud library templates, only with standard templates from theme panel. You can make them as you can see in our guide here:https://forum.tagdiv.com/custom-post-type-support/

I hope this was more helpful !

Thank you !

Post count: 3

Hi Vlad,

Not the answer I was hoping but that’s a clear explanation.
Will have to look for an alternative solution then.

Thanks

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.