WordPress.org

Ready to get started?Download WordPress

Forums

Awesome Filterable Portfolio
[resolved] How To Not Display Category If Item Number is Null (2 posts)

  1. brentalexander
    Member
    Posted 1 year ago #

    Hi,

    I'm using the plugin in an unorthadox manner (to filter cocktail recipes) for a clients website, http://darkcornerdistillery.com/recipes-test

    My problem is, I don't want the category to display if the item number for that category is null. I was messing around with the code, but my PHP is a little dusty, so I was wondering if you could help me out.

    Thanks and I greatly appreciate it!

    http://wordpress.org/extend/plugins/awesome-filterable-portfolio/

  2. BriniA
    Member
    Plugin Author

    Posted 11 months ago #

    Hi,
    The plugin displays every category you create, if a category has no portfolio items assigned to it then you shouldn't need it. Probably the best way is to keep only categories that have portfolio items and delete the rest of them.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.