WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Wonderful Wanderings
    Member
    Posted 8 months 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?

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

Reply

You must log in to post.

About this Plugin

About this Topic

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