Post Templates for Pages

Posted in: Newsmag
Post count: 2

Hey,

There is good templates for posts (https://forum.tagdiv.com/newsmag-post-templates/). I want to use style6 in some of my pages with breadcrumb.

If breadcrumb in this template is hard to display, i can choose a different style. But I dont know where to start, because I cant select the styles in Page editor. I works only in Post editor. I try to convert post type to Page, after I created the template. But it’s not working.

If I can use parent-child relations and breadcrumbs in posts with another plugin, please let me know so I can try it first.

Post count: 6535

HI

Theme’s post templates we’re not designed to work on pages even if you try to convert from a post type to another.
Also I am not very sure what you’re trying to do as post template 6 does not have any breadcrumbs in it’s structure. The functions which generate the breadcrumbs can be found in td_page_generator.php file: http://screencast.com/t/Tznd54sODR so you can call them on pages as they are called on single posts: http://screencast.com/t/OQE6JTevT

If this is not what you mean please provide more detail about what you’re trying to do so I can get back to you with a more accurate answer.
Thanks!

Post count: 2

Thank you for the info, but I found a workaround. I’ll add this here, for anyone try the same thing.

1. In the “Page” editor, choose “Page builder + page title” template.
2. Choose a featured image and insert text/html content.
3. Publish the page
4. Add “Homepage Post” to the top of the page with Visual Composer.
5. Edit Homepage Post block and set “Post ID filter:” to the id of the current page. Set “Post Type:” to page.(It’s not working if you don’t set post type to page)
6. Publish / Preview page, success.

This way you got very similar template to the style6 in Pages, plus you got breadcrumbs.

Post count: 6535

Hi

Glad you have managed to solve this.
Thanks for letting us know and also for posting your solution here so others can benefit from it.

Have a nice day!

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