Support » Plugin: Easy Portfolio » show categories even when empty

  • Resolved project13x

    (@project13x)


    I want to show the selected categories even when there isnt an item connected to it.

    Now it only shows a category when there is at least 1 item connected to it.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Please find easy-portfolio.php in line no.141

    $_categories = get_categories('taxonomy=portfolio_category');
    and replace it with this

    $_categories = get_categories(array(
        'hide_empty'       => 0,'taxonomy'=>'portfolio_category'));
Viewing 1 replies (of 1 total)
  • The topic ‘show categories even when empty’ is closed to new replies.