Skip Navigation

[Resolved] Blocks View in custom type posts only half working

This support ticket is created 4 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Ken Wilson 4 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1904695
Screenshot showing Toolset page issue.jpg

I am using Toolset to replace the layout for custom post type single pages. It only half works.
Currently, when viewing the post page, the content shows up in a column within the standard blog post template. This means that the blog post header, title, featured image and sidebar are still loading.
While I am using the X Pro child theme, this issue also happens when I change the website theme. X Pro uses the 'the_content' function.
I have been through your documentation and forums, but nothing seems to fix it.

What is the link to your site?
hidden link (temp password: Innovatek)

#1905501

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ken,

Thank you for getting in touch.

Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this one for you?

I've enabled the private fields for your next response.

Also please send me a link to the page where I can see the issue.

Thanks,
Shane

#1906633

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ken,

From what I gather in your query you would like for the layout to be full width and without the header, given that you want our blocks plugin to take over the entire content area.

The setting for this is usually controlled by your theme. You theme should have the setting to define a global layout for each post type. Unfortunately i'm not familiar with this theme as it doesn't present the option on the post itself, so perhaps you can check the theme settings for the option.

Thanks,
Shane

#1908563

My issue is resolved now. Thank you!
You indirectly helped as I was initially under the impression that Toolset automatically replaced the whole page.
I now know that, by default, Toolset is only inserted into the content view of the page template.
To fix my issue, I used the Toolset view template shortcode to insert the content exactly where I need it within the page layout. My theme has a layout builder that allows me to create a unqiue layout for custom posts and insert the Toolset views shortcode [wpv-post-body view_template="Name of View"].
Works perfectly.
I think Toolset needs to better promote your shortcodes. Unfortunitely they are hard to find within your online documentation.
Can you please display the shortcodes next to every custom field, on every view editor and any other place that use it.