Skip Navigation

[Resolved] CPTs loading up blank when using Elementor Pro

This support ticket is created 6 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 24 replies, has 3 voices.

Last updated by Shane 6 years, 1 month ago.

Assisted by: Shane.

Author
Posts
#1181684

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Karen,

Thanks I was able to create a copy and set it up locally.

My suggestion to get this working is that why not add your content template contents to a text editor widget?

This should produce the same effect as if you are including the content template itself. I also see that you are adding the post content cell in elementor which should cause the content template to render.

Please let me know if this helps.

Thanks,
Shane

#1181693

Hey Shane,

You mean copy the content templates content into the elementor templates?

Will this also fix the pages not loading if the content template is selected in the editor screen?

#1181724

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Karen,

No this won't fix this but it serves as a temporary workaround until we can get our team investigating this issue.

Thanks,
Shane

#1182403

Hey Shane - any word on this?

#1182428

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Karen,

No update from our 2nd tier as yet. However I see on our internal system that this should've been something that was fixed. It was an issue in the past but it seems that the issue is re-occurring.

I was able to replicate the issue on a fresh installation so i've provided this to our team for further checks.

Hopefully we can get a resolution from our development team on this one soon.

Thanks,
Shane

#1182436

Hi Shane, we appreciate the update. Have passed on to the website owner. Have a good weekend.

#1182450

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Thanks for the patience Karen.

#1183605

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Karen,

It seems that this issue is documented by our team.

As previously mentioned Elementor does not play nicely with content templates.
https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/create-templates-for-custom-post-types-with-elementor-and-toolset/#limitations-when-using-elementor-and-toolset-templates-together

So as I previously recommended to remove the content templates from your posts and add the content from the content template directly to your elementor template.

Thanks,
Shane

#1183679

Hey Shane,

I understand this part of it, unfortunately when updates are run, it automatically assigns the content template to the post, this is where we're running into a problem.

If we go with the solution you've proposed, the content templates are not just showing content, we also have conditional logic, etc. Will all of this also work within Elementor if it's just pasted in? Are you saying to just paste in the shortcodes?

For example we have:

====
[wpv-post-body view_template="None"]

[cred_child_link_form form='295' parent_id='-1' text='Submit your Homework for this Assignment' target='_blank']
<p>
[wpv-view name="homework-submissions-on-an-assignment"]
</p>
===

but also

===

Date: [types field='date' style='text' format='F j, Y'][/types]<br />

[wpv-conditional if="( $(wpcf-lesson-source) ne '' )"]
Lesson Source: [types field='lesson-source'][/types]<br />[/wpv-conditional]

[wpv-conditional if="( $(wpcf-lesson-name) ne '' )"]
Lesson Name: [types field='lesson-name'][/types]<br />[/wpv-conditional]

[wpv-conditional if="( $(wpcf-duration-atm) ne '' )"]
Duration: [types field='duration-atm'][/types]<br />[/wpv-conditional]
<br />
[wpv-conditional if="( $(wpcf-preparation) ne '' )"]
<h3>Preparation</h3>
<p>[types field='preparation'][/types]</p>
[/wpv-conditional]

[wpv-conditional if="( $(wpcf-experience) ne '' )"]
<h3>Experience</h3>
<p>[types field='experience'][/types]</p>
[/wpv-conditional]

[wpv-conditional if="( $(wpcf-reflection) ne '' )"]
<h3>Reflection</h3>
<p>[types field='reflection'][/types]</p>
[/wpv-conditional]

[wpv-conditional if="( $(wpcf-atm-log-images) ne '' )"]
<h3>Related Images</h3>
[types field='atm-log-images' title='%%TITLE%%' alt='%%ALT%%' size='full' separator=', '][/types]<br />
[/wpv-conditional]
<br />
[wpv-conditional if="( $(wpcf-atm-log-videos) ne '' )"]
<h3>Related Videos</h3>
[types field='atm-log-videos' separator=', '][/types]<br />
[/wpv-conditional]

====

Will this all work within an elementor template?

Swapping this all over will take us quite a bit of time we weren't expecting.

Is there a solution to this currently being worked on? Is it worth it to also contact elementor?

#1183699

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2019-01-14 at 1.05.01 PM.png

Hi Karen,

This is cause you have the content template assigned to the post type. See Screenshot

To stop this from happening you need to uncheck the ATM Log Entry from the Content template under the usage option.

This way any updates won't cause the template to be assigned.

Thanks,
Shane