When I active Views, my website body doesn't show up. Screenshot - hidden link
When I deactivate Views, then my website works again.
What can I do to fix the issue?
Hi Stanley,
Thank you for contacting us and I'll be happy to assist.
Can you please check your content templates list (WP Admin -> Toolset -> Content Templates) and see if any of them is assigned to single pages?
( https://toolset.com/documentation/user-guides/setting-view-templates-for-single-pages/ )
If you do find one, please check if it is configured correctly to include the page's body.
( https://toolset.com/documentation/getting-started-with-toolset/create-templates-to-display-custom-posts/designing-a-template-without-any-page-builder/ )
In case, no content template is assigned to pages, please make sure that the Views and all other Toolset plugins are updated to their latest versions:
( https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-update-requires-registration )
It would be also worth troubleshooting if the issue also persists with a WordPress Default Theme (like Twenty Seventeen) and with NO Plugins BUT the Toolset Plugins?
If the issue is fixed with other plugins disabled, could you then re-enable the Plugins one after the other, and check the issue each time you enable a plugin?
Let me know how it goes and if you have any further information.
regards,
Waqar
Hi,
I don't use content templates and I have tried defaulting to Twenty Seventeen WordPress Theme and deactivating all plugins and that didn't work.
What else can I do?
Stan
Hi Stanley,
Thanks for writing back and sorry to learn that the issue still persists.
For further troubleshooting, I’ll need temporary access (WP-Admin and FTP) to the website, preferably a development or cloned website, where the issue is reproducible.
This access will allow me to offer better help and check if some configurations or code might need to be changed.
Your next answer will be private which means only you and our support team will have access to it.
If you’re going to share the access details for the live/production website, it is very important that a complete backup of your database and website has been made.
I would additionally need your permission to deactivate and reactivate Plugins and the Theme and to change configurations on the site. This is also a reason the backup is really important.
Regards,
Waqar
Hi Stanley,
Thank you for sharing the admin access.
I activated the Toolset Views plugin and noticed that a blank content template "Template for Careers" (with ID: 533795) was configured to show with all single posts of type "Careers".
( screenshot: hidden link )
If you'll edit that content template ( hidden link ), you'll see that it's "Template" section is completely blank, which is why no content is shown on single career pages when the Views plugin is active.
To continue on with this content template you can add the shortcode [wpv-post-body view_template="None"] in its template section and the content will start showing on those career pages.
If that content template is not needed, you can click the "Change usage" button at the bottom and detach it from all single career pages.
( screenshot: hidden link )
Here is a guide on the content template settings:
https://toolset.com/documentation/user-guides/setting-view-templates-for-single-pages/
I hope this helps!
regards,
Waqar
My issue is resolved now. Thank you!
Hi,
Can you take a look at my format - hidden link?
After enabling Views, the format has been out of whack. There are random <p>, <br> tags everywhere which didn't exist before.
Hi Stanley,
Thanks for the update and glad my suggestions helped.
It seems your theme or some third-party plugin is already processing the content for auto-formatting.
To avoid double processing, you can update your shortcode in the content template from:
[wpv-post-body view_template="None"]
To:
[wpv-post-body view_template="None" output="raw"]
Let me know how it goes.
regards,
Waqar