This support ticket is created vor 4 Jahren, 10 Monaten. 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.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I have created a CPT called Problems and accordingly created the content template using Toolset Blocks.
Since I am using Elementor Pro, I have created a template to display all the singular posts & pages.
Now the problem is that when I view any post from Problems CPT, it shows a blank body.
I then created another template in Elementor Pro and assigned it to Problems CPT, but that didn't work.
I then edited a Problems post and set the content template to none. This time it worked. The Problem post started showing up but only for this specific post, not for the rest of the posts.
I wanted to find out a way on how to deal with Toolset Blocks and Elementor Pro inter-compatibility.
To get a good understanding of this issue I would need to see the page itself but it sounds like what you are describing is a case of when a page get assigned to a content template that is empty.
You mentioned that it only occurs with this specific posts, are all the other posts assigned to the same content template ?
Also if you assign the content template that was assigned to the post that wasn't working to another post does the issue persist in that post ?
Finally please send me a screenshot of that content template.
Thank you for the credentials, however i'm not seeing where you sent a link to the page where i can see the issue.
However I did look at your content template and see that they are both empty. If any of these content templates are assigned to your posts, they will indeed show blank on the frontend.
If you are using elementor to build your page then there is no need to use content templates.
I guess you were looking into the wrong template, that's why you were seeing it as blank. The Template for Problems has the necessary fields.
This afternoon, I tried out everything but I couldn't make it up. There seems to be some compatibility issue.
Since nothing worked out, I reverted back to the earlier setup to make the Problems CPT pages show the contents.
Right now, if you view any Problems CPT post, you will see it appearing correctly. But as soon as you edit any post, change the content template to "Template for Problems" and then view it, it will show a blank body. Of course, you will have to go to the respective content template to change the usage so that it uses the respective content template to output the contents.
I got it right at 1st that if I am using Elementor Pro, then I don't need content templates, but I was rather more curious to try out Blocks.
Maybe you can try to duplicate the setup at your end to see if you can find a clue as to why a blank output is being shown.
Its actually not recommended to use Content templates if you're going to use the elementor plugin to design your page templates. What you need to do is if you want to display field information in your elementor template you can use their dynamic widgets and pull the data from our custom fields.
Have a quick look at this video below. versteckter Link
Since both plugins tend to overwrite the page templates you can only use 1 to design your page and not both. Views can be used within elementor if you want to display custom fields as well or you can use the Types shortcodes to display the fields.
However I will definitely be debugging this one further to pinpoint the exact issue to see why it comes up blank.