• Resolved s

    (@sdnazdi)


    Hi,

    I like to insert a Pod field value between text(in title or text editor) in Elementor. I watched this video and it was interesting, but it was for ACF and Jet

    https://www.youtube.com/watch?v=V5EaEeYtttw

    Is there such possibility for Pods field?

    I tried with something

    Hi, my email is [pods field="agency_email"]
    Hi, my email is [pods]{@agency_email}[/pods] 

    inside a loop item of Elementor Pro but none of them worked.

    • This topic was modified 1 year, 2 months ago by s.
    • This topic was modified 1 year, 2 months ago by s.
    • This topic was modified 1 year, 2 months ago by s.
    • This topic was modified 1 year, 2 months ago by s.
    • This topic was modified 1 year, 2 months ago by s.
    • This topic was modified 1 year, 2 months ago by s.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @sdnazdi

    The shortcodes you’ve posted should actually work. Perhaps it’s best to contact Elementor about this to see what happens here.

    Our shortcodes rely on the WordPress loop (current post) so if this isn’t set then the shortcodes won’t work.
    It also could be that you need to enable shortcodes for this somehow?

    Cheers, Jory

    Plugin Support Paul Clark

    (@pdclark)

    Hi @sdnazdi,

    As Jory noted, some modules in Elementor process shortcodes, while some do not. For the most reliable use of shortcodes, try the Shortcode module, as noted at https://elementor.com/help/how-to-use-shortcodes/#adding-a-shortcode-to-an-elementor-template .

    A shortcode module does not need to contain only the shortcode —?it can also contain HTML.

    Also, as Jory noted, when the [pods] shortcode is used in the forms you provided, by only naming a field, but not where it is coming from, Pods will attempt to find the field from the current global WordPress loop. This means the currently queried Post, Taxonomy Term, or in some exotic cases, user profile or settings page.

    Make sure agency_email is a field on the current post being displayed by Elementor. If not, see https://docs.pods.io/displaying-pods/pods-shortcode/ for details on how to query Pods with more specificity, such as by providing a CPT or taxonomy, or settings page slug (the “pod name”), as well as an ID or slug of the specific content within that context if it should not be a general query over all published content.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inline Dynamic Text’ is closed to new replies.