Remove from blog main page

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8891
    Monolab
    Monolab
    Participant

    Hi,

    I’d like to remove the related contents from the main page of the blog, but cannot find or figured out, how can I do this.
    Please help to solve this!

    Thanks in advance,
    Zoltan

    #8901
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Zoltan,

    Thank you fro the login detail, it made my work much easier.

    I had to make a direct modification to one of the plugin files as the default method was not able to determine if the homepage was displayed or not.

    For future reference the modification was in file wp-content\plugins\related-posts-pro\includes\hooks.php line 261 from this:

    (is_home() && $options['show_on_home'] == 0) ||

    to this:

    (is_front_page() && $options['show_on_home'] == 0) ||

    It should be working correctly now.

    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.