WordPress.org

Ready to get started?Download WordPress

Forums

WP Exclude From Homepage
[resolved] Missing categories (3 posts)

  1. paweljonik
    Member
    Posted 1 year ago #

    Looks like when I have category that hasn't got any published posts - it's missing from the list of categories to hide.

    http://wordpress.org/extend/plugins/wp-exclude-from-homepage/

  2. iziwebavenir
    Member
    Plugin Author

    Posted 1 year ago #

    Hello paweljonik,

    i try to fix it soon as possible.

    Best Regards

  3. iziwebavenir
    Member
    Plugin Author

    Posted 1 year ago #

    Hello paweljonik, I found a way to fix your problem :

    in wp-exclude-from-homepage.php :

    line 119 find:
    $cats = get_categories();

    replace it by:
    $args_cat = array ('hide_empty'=> 0);
    $cats = get_categories($args_cat);

    I will integrate this in the next plugin release.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic