WP Hide Post
Post not hided on blog page (not home) (1 post)

  1. Wonderful Wanderings
    Posted 2 years ago #

    I have mmy homepage, which displays my five most recent posts, but my 'blog page', which has all the posts, is on another page than my homepage.
    WP Hide Post isn't hiding the posts there.
    I found this solution:

    "So I changed one line of the code in wp-hide-post.php to make this work. Line #59-61 was:

    function wphp_is_front_page() {
    return is_front_page();
    Changed to:

    function wphp_is_front_page() {
    return is_front_page() || is_home();

    But was wondering if there is another way?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Hide Post
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Wonderful Wanderings
  • This topic is not resolved
  • WordPress version: 3.6