Problem with the plugin

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 7 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11966
    romeing
    romeing
    Participant

    Hi! I just bought and activated the plugin, but it doesn’t work well. Can you please look at the configuration and possible incompatibilities?
    here is an example: http://www.romeing.it/speakeasy-bars-in-rome/
    thanks
    A.

    #11967
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    From what I can see the plugin script is moved to the footer, while the initialization is still in the header. I’m guessing it’s either a minify/cache plugin doing that.

    I think I have a solution, but a minor change must be made in one of the plugin files. I will write down the steps below, if you can’t do it, feel free to add temporary FTP details to your ticket, and I will do it for you:

    1. Make sure to have site back-up, just in case anything goes wrong.
    2. Open up the wp-content\plugins\related-posts-pro\includes\hooks.php file on your server.
    3. Scroll to line 63, which should be this:

    add_action('wp_head', 'wpdreams_rpp_hooks', 10, 0);

    4. Change that line to:

    add_action('wp_footer', 'wpdreams_rpp_hooks', 9999999999999, 0);

    5. Save the file, clear your cache site cache.

    This will make sure to move the rest of the plugin scripts to the site footer, hopefully solving the issues. Let’s hope it helps.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.