Skip Navigation

[Resolved] View doesn't show on content template for regular post type

This support ticket is created 4 years, 1 month 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 5 replies, has 3 voices.

Last updated by stephanW-2 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#1880499

I created a custom post template for the regular post type. After this I created a view with the latest posts . For some reason the view with latest post don't show on the regular post type. It is visible on other content templates and pages so it works, but not on the content template I uses for the regular post the view output doesn't show.

I also tried a different view to check, but no view is working on the content template I created for the regular post type.

#1881749

Hello, there could be a configuration issue in the template, or something else I'm not able to predict. I'll be glad to take a closer look if you provide login credentials in the private reply fields here.

#1882861

It seems that the Content Template is not being applied to Posts at all. If I add some basic text like "TESTING" to the template, it does not appear in the post on the front-end of the site. Furthermore, the post content appears even though there is no post content added in the template. Something else is going on here, I don't think it's a problem in the View itself.

Is it okay for me to run some tests, like temporarily disabling plugins and activating a default theme? I would like to see if there is a conflict with some other component that is preventing Content Templates from being displayed as expected on standard Posts.

#1882957

Sure, no problem. You can run some tests

#1886841

Christian is on vacation for a couple of days. If you don't mind, I'll continue with you on this ticket.

I, first, switched the theme to TwentyTwenty and the posts were not using the content template. Then I deactivated all plugins except Toolset ones and it rendered the view inside the content template. So, I added the body to the content template to check. It was working.
So, I started activating the plugin, one at a time, and the content template continued working. I guess, that it was a cache issue that was fixed after deactivating all plugins, including WP Super Cache. If the issue persists we'll investigate further how this is happening.

#1887871

My issue is resolved now. Thank you!