This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Remove from blog main page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8891
    MonolabMonolab
    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 MarcinkoErnest 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:

    [php](is_home() && $options[‘show_on_home’] == 0) ||[/php]

    to this:

    [php](is_front_page() && $options[‘show_on_home’] == 0) ||[/php]

    It should be working correctly now.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Related Posts Pro for WordPress Support’ is closed to new topics and replies.