Latest Tech and Tips

How to Display a Category only if it has Posts in WordPress

0

This bit that we are sharing in this write-up is useful in really customized layouts. By default you can make use of wp_list_categories feature to display groups, as well as it only shows groups if it has posts. Sometimes when you are personalizing WordPress, you may require to usage it in this manner. When we were dealing with a customer’s job, we located a require for this bit, as a result we are sharing it for any person else that can make use of it.

<