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

  1. brentalexander
    Posted 3 years ago #


    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!


  2. BriniA
    Plugin Author

    Posted 3 years ago #

    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

  • Awesome Filterable Portfolio
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.