Is it possible to show Elementor design in a shortcode with custom query?
-
Hi
I have a Custom Post Type named – Event and they are designed using Elementor.
Now I am creating a custom shortcode where I am using a WP Custom Query to show all the Events’ title and the contents which were designed with Elementor.
But it looks like if I use
get_the_content()
function inside the shortcode then the Elementor design doesn’t show up. Instead of that it shows the contents like plain editor.I believe, I can’t use
the_content()
in the shortcode’s function.So is there a way to show CPT’s Elementor design in a shortcode’s custom query?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is it possible to show Elementor design in a shortcode with custom query?’ is closed to new replies.