Forums

Conditional Taxonomys (1 post)

  1. zeststudio
    Member
    Posted 1 year ago #

    I have created a bunch of taxonomys for product specifications which I want to display in a table however I won't always have all the taxonomys filled with content so I dont always want them displayed, so I need to make them conditional based on whether there is content in it or not.

    This is what I have at the moment:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Problem with this is I get a blank divs when there is nothing in the taxonomy.

Topic Closed

This topic has been closed to new replies.

About this Topic