Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter korfino

    (@korfino)

    I forgot I had deactivated the plugin. I re-activated it, and now it works.

    So, I have no idea whether it was the code tweak above or the deactivation / reactivation that fixed the problem.

    Thread Starter korfino

    (@korfino)

    Final update:

    I uninstalled the plugin and reinstalled it. I activated it.

    The offending post appeared on my Blogs page.

    I then edited

    wp-hide-post.php

    from

    /**
     *
     * @return unknown_type
     */
    function wphp_is_front_page() {
    	return is_front_page();
    }

    to

    /**
     *
     * @return unknown_type
     */
    function wphp_is_front_page() {
    	return is_front_page() || is_home();
    }

    Problem solved!

    Hi Korfino,

    Thanks for the solution!

    @scriptburn can you please implement this fix for your next plugin upgrade?

    Thanks for the solution. Hi, @scriptburn please implement the code in your plugin.

    Thanks so much @korfino!

    Just an FYI – I also had to add:

    add_filter('getarchives_where', 'wphp_query_posts_where');

    and

    add_filter('getarchives_join', 'wphp_query_posts_join');

    To prevent generating a link to an empty archive page in the Archived Posts widget.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Does not hide from Blog page’ is closed to new replies.