Skip Navigation

[Resolved] Using Elementor template shortcodes inside View loop

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user is loading an elementor template shortcode in the view loop.

Solution:

This is actually possible as your shortcodes will still render inside a view loop.

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

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 6 replies, has 2 voices.

Last updated by Ben 5 years, 8 months ago.

Assisted by: Shane.

Author
Posts
#1244676

Ben

I have noticed that you can use Elementor template shortcodes within a View loop. This effectively allows you to design the loop output with Elementor. I have been testing for a while and it appears to work well.

Is this recommended? Or are there any known issues with doing this?

#1244688

Shane
Supporter

Languages: English (English )

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

Hi Ben,

Thank you for getting in touch.

I know that you're not able to use the elementor plugin to design your loop output layout but their shortcodes should still work.

Could you send me a screenshot of you view edit screen so that I can know exactly what you are talking about.

Thanks,
Shane

#1244690

Ben

Like this Shane.

[wpv-layout-start]
[wpv-items-found]
<!-- wpv-loop-start -->
<wpv-loop>
[elementor-template id="999"]
</wpv-loop>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-layout-end]
#1244696

Shane
Supporter

Languages: English (English )

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

Hi Ben,

Thanks, i've never seen it done like this before but as you mentioned it works so its a possible use case for view.

I'm assuming it loads all the posts with the elementor template. So its a new use case.

It shouldn't cause an issue but I cannot guarantee that issues won't arise.

Thanks,
Shane

#1244697

Ben

Thanks Shane.

Is there any way of testing the server load this way as opposed to using a Toolset Content Template?

#1244724

Shane
Supporter

Languages: English (English )

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

Hi Ben,

You can try using one of the many tools available to check your page speed. Like
hidden link

Thanks,
Shane

#1244796

Ben

Thank you for all your help with this Shane!