WordPress.org

Support

Support » Plugins and Hacks » WP Hide Post » Post not hided on blog page (not home)

Post not hided on blog page (not home)

  • 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?

    http://wordpress.org/plugins/wp-hide-post/

  • The topic ‘Post not hided on blog page (not home)’ is closed to new replies.
Skip to toolbar