• Resolved druid75

    (@druid75)


    Hi, this looks like its going to be a great plugin. An issue I am having at the moment is that if I make a change to the privacy policy, the box appears, but the text is that of the homepage.

    Ive had to disable the plugin for now to prevent this from showing up.

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

    (@fclaussen)

    Hi @druid75,

    Did you select the correct page in the plugin settings? I can’t reproduce this error here. I am seeing the correct page content.

    Thread Starter druid75

    (@druid75)

    The page is definitely selected. In fact it doesn’t matter which page I select, the text contents of the home page is always displayed in the accept decline box.

    In the database the option ID for my policy page is 585 and that is correct for the page.

    I have tried to clear caches etc.

    I am using Site Origin to build the pages if that is an issue.

    Plugin Author Fernando Claussen

    (@fclaussen)

    Hmm. It shouldn’t be.

    Have you tried flushing your permalinks?

    I can’t reproduce the issue on my end.

    mvvirola

    (@mvvirola)

    I have the same problem, or to be precise it shows the page that you are trying to access by logging in. I also have Ultimate Member installed so not sure if that is somehow causing the problem. Also, the “Agree” button doesn’t work, I need to refresh to access the page where I should be redirected after logging in.

    Plugin Author Fernando Claussen

    (@fclaussen)

    Hi @mvvirola,

    Thanks for pointing out that the agree button was not working. I pushed 1.1.2 now and that should fix it for you.

    Also, can any of you that have the wrong content displaying give me access to your installations so I can test? Looking at the code, nothing is striking me as problematic.

    First I set stuff

    $privacy_policy_page = get_option( 'gdpr_privacy_policy_page' );
    if ( ! $privacy_policy_page ) {
    	return;
    }
    
    $page_obj = get_post( $privacy_policy_page );
    if ( empty( $page_obj->post_content ) ) {
    	return;
    }

    Then I display it

    <?php echo wp_kses_post( apply_filters( 'the_content', $page_obj->post_content ) ); ?>

    Pretty standard.

    So if any of you can provide me access, I can start debugging to figure out what is wrong.

    Don’t post anything here. Send me at fclaussen@trewknowledge.com

    Thank you both for your help in making this a better plugin.

    Plugin Author Fernando Claussen

    (@fclaussen)

    Hi @druid75,

    It’s been a while.
    Is this still an issue for you? Can you send me a link to test it?

    Can you email me and account to try and debug this and figure out what is going on with your install?

    Thread Starter druid75

    (@druid75)

    Hi, I have been working on it today. It turns out that if I completely cleared my browser cache it works fine.

    DOn’t know why it was an issue.

    Plugin Author Fernando Claussen

    (@fclaussen)

    Good to know that this worked for you.

    Let me know if you find any other issues so I can help out.

    alexanderdean

    (@alexanderdean)

    @fclaussen

    I have this same issue. It seems to be a conflict with SiteOrigin PageBuilder (https://wordpress.org/plugins/siteorigin-panels/) Pretty easy to reproduce… just install PageBuilder and build a simple homepage with their product. Then install your plugin and point it to a privacy page and then open the site. If you can’t reproduce it, ping me and I can give you access to a site where the problem exists.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Privacy Policy Page Update Always Shows Homepage’ is closed to new replies.