Support » Plugin: GDPR » Loading current page on Modal window – normal behavior ?

  • idsbc

    (@idesignstudio)



    Hi,

    When I activate Modal window for re-consent, it always loads the current page inside when the window pops up.

    Is this the correct behavior? From an end-user point of view, it would be correct if it loads the specific Privacy Policy page, so visitors can actually read it and give their consent or deny.

    Please explain what the Modal window should show inside of it.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Fernando Claussen

    (@fclaussen)

    It should show the policy page content, not the current page.

    Are you using any page builders? Page builders change the behaviour of default WordPress functions and break things like this.

    idsbc

    (@idesignstudio)

    Yes, you’re right.

    I am using Elementor.

    Any workaround? Because it is a great feature to block the website navigation before re-consent.
    Some coded URL in functions.php?

    Thanks!

    Plugin Author Fernando Claussen

    (@fclaussen)

    Since I’m not their customer, I can’t post support requests on their site.

    Can you ask them?

    Tell them that the following code brings up the current page content instead of the desired page content.

    echo apply_filters( 'the_content', $page_obj->post_content );

    Ask them how to proceed.

    For example: for SiteOrigin the code they provided is the following.
    echo SiteOrigin_Panels::renderer()->render( $page_obj->ID );

    So I’m expecting Elementor to have something similar.

    idsbc

    (@idesignstudio)

    Thanks,
    I’ll contact them and post here if any solution will be provided.

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