Support » Plugin: WP Hide Post » [Plugin: WP Hide Post] Posts Showing up on Blog page (not Home)

  • I have my Blog section on a different part of the site (at /blog/, set in Settings > Reading), but my posts were still showing up with everything checked.

    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();
    }

    And now it’s hidden. Hope this helps someone else.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yup.. It worked.. Thanks..

    There was a fatal error though.. ‘}’ was unexpected. I just removed the ‘}’ and the plugin worked like a charm 😀

    I have WP Hide Post and I don’t want to show all my videos on any page or post as after opting in they get sent a link to access the next video and so on. I have checked all the boxes and it doesn’t show on the front (home) page but shows on all the other posts. Any help please?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP Hide Post] Posts Showing up on Blog page (not Home)’ is closed to new replies.