Skip Navigation

[Resolved] content template not being rendered on some blog posts

This support ticket is created 2 years, 7 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.

This topic contains 2 replies, has 2 voices.

Last updated by ianM-9 2 years, 7 months ago.

Author
Posts
#2403445
Screenshot 2022-06-23 at 09.56.09.png
Screenshot 2022-06-23 at 09.56.42.png

Tell us what you are trying to do?
Make the content template render on all of our blog posts. An apparently random number of blog posts in our database appear to have lost their reference to the content template. As you can see from the attached images the standard url with the post slug doesn't render the full content template, but if you add the right content template into the url (`?/content-template-id=4599`) then the page renders properly. Removing the Toolset Blocks plugin also works to help the problem, so I've deleted that and downloaded it again, but that hasn't worked. Is there anything I can do to check / refresh the reference to the content template in the blog post?

Is there any documentation that you are following?
No.

Is there a similar example that we can see?
hidden link
hidden link

What is the link to your site?
hidden link

#2403519

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screenshot 2022-06-23 at 11.31.13.png

Hi Ian

If some of the posts when being edited changed the template assignment (to use another template or no template) so that they no longer automatically use the template assigned to the post type, then when you edit that content template you should see a notice about this and the option to re-assign the template to such posts (screenshot).

Or maybe you set some conditions for the assignment of the template that you no longer want to apply? The editor doesn't provide a convenient way of removing conditions once they've been added. The simplest option would be to unassign the template from any post type, save the template and reload, then apply the template to the chosen post type once more.

#2403531

That helped, I think I'd set the conditions and as you say, it is not really possible to undo the conditions. Thanks very much for your advice, my issue is resolved now. Thank you!