Support » Plugin: Dynamic Conditions » Dynamic conditions inse Elementor shortcodes

  • Resolved sermalefico

    (@sermalefico)


    When I use dynamic conditions in elementor template that I visualize using a shortcode on another page, the display conditions of a custom field do not work.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @sermalefico,

    can you please give as a link to see the issue or make a guide to exactly reproduce it?

    Thank you.

    Okay,
    I have created a post type template in elementor without any display options.

    This template for example has this shortcode [elementor-template id = “37560”]

    I load this shortcode in a wordpress loop so that I can see all the data of each post of my post type. For example:

    <? php echo do_shortcode ('[elementor-template id = "37560"]');?>

    Within this template I receive the title, taxonomies, content and featured image dynamically. Everything is right for now.

    Now I also have for example a custom field to show the content of it in each entry.

    I have put a condition that if the custom field is empty it will not be displayed

    In the elementor editor everything works correctly, but in the frontend not.

    I don’t know exactly, but I think it’s an elementor problem, because it shouldn’t show custom fields when you try to load a template using an elementor shortcode.

    I say it because for example I can correctly see a slide of photos that I made manually with custom fields and this slide I load it into the template through a shortcode, in this way if it shows the custom fields and also in this way I can add dynamic conditions to the shortcode of my slide and in the frontend everything works correctly.

    I do not know if I explained well. But I leave you a link from my gallery http://www.adrianarcay.com/portfolio/ , in which you can see that if you click on the magnifying glass you can see that a popup opens with the content of the elementor template. There you can see that on the left is the slide (which is a shortcode inside the elementor template), you can also see the dynamic titles and taxonomies of each tab. What I don’t see is the dynamic button that loads the content of the custom text field that each entry has.

    If you click on the chain button it takes you to the individual entry. There, it loads the custom text field (WEB) because that template is not loaded by do_shortcode but is an elementor template for a custom post type.

    I think that elementor does not show custom fields when you load templates using shortcode.

    • This reply was modified 4 months, 1 week ago by sermalefico.
    • This reply was modified 4 months, 1 week ago by sermalefico.

    By the way this in previous versions of elementor did not happen, everything worked fine. Something they have modified that no longer works.

    Here can you see a capture of my elementor template loaded into de query with shortcode

    ELEMENTOR TEMPLATE CAPTURE

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @sermalefico,

    im sorry but we have no idea right now. It seems like a ver special problem and we will investigate some more in the next days.

    Thank you for your report. We let this issue open while we investigate more.

    Ok!

    I put this issue in elementor github with more explanation

    https://github.com/elementor/elementor/issues/9121

    thanks for your support!

    Plugin Author rtowebsites

    (@rtowebsites)

    Ok, thank you.

    we mark this issue as resolved, since it is not about our Plugin.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.