• Resolved rickmcl

    (@rickmcl)


    Hi there, my apologize I’m not a developer. But I’m trying to display/hide a content block based on the previous page someone is coming from. Can I do this with Dynamic Conditions? Thanks for your help!

Viewing 1 replies (of 1 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @rickmcl

    we think you need the http-referer for this. But elementor doesnt provide a dynamic tag for referer.

    You could install a plugin for php-shortcode, than you can use php in your condition an check for the referer.
    Something like this:
    https://de.www.ads-software.com/plugins/insert-php-code-snippet/

    Than create a shortcode with this:

    <?php
    echo wp_get_referer();
    ?>

    Than you can select Shortcode as tag in dynamic-conditions and enter the shortcode.

Viewing 1 replies (of 1 total)
  • The topic ‘Display content block based on page visited’ is closed to new replies.