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.
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.
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.
Sure, no problem. You can run some tests
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.
My issue is resolved now. Thank you!