• Resolved ozgurerdogan

    (@ozgurerdogan)


    I need to use shortcodes in text fields in any drag and drop elements of lets say elementor builder? Can I somehow do that?

    For example: [pods name=”info”]{@mail}[/pods]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support pdclark

    (@pdclark)

    You can use shortcodes in the elementor shortcode block.

    Adding shortcodes to other elementor blocks is a matter of support from Elementor: if it doesn’t do it, it would mean extending Elementor to use apply_shortcodes() on whatever input you’re working with.

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    I can not find anything about it. Can you give me an example if you know? I also asked in elementor forum but no reply.

    Plugin Support pdclark

    (@pdclark)

    In testing, I was able to use shortcodes in Elementor text fields and shortcode fields. Using the inspector, you can output HTML similar to the drag and drop elements.

    In trying to use shortcodes in a drag-and-drop field, such as heading, I did not find any filters in the code to make possible the adding of shortcodes. The ability to do this would depend on the code for each field.

    Thread Starter ozgurerdogan

    (@ozgurerdogan)

    Thats my mistake to not to see preview page. When I see that shortcode does not render the result in page edit mode, I thought it is not accepting the scodes.
    So thank you, I can see in preview page, scodes are being rendered fine. That makes it possible to use display page with elemantor. And sometime I also use inspector, copy html and paste it to elemantor and add magictags there. I think it is ok to do so.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘shortcodes in text fields’ is closed to new replies.