Support » Plugin: Document Gallery » Add Message for Empty Category

  • Hi, I used your code to display the documents in lists (https://wordpress.org/support/topic/displaying-only-names-and-dates-in-a-table-format/) and love it. Now I am wondering if you might share a code snippet or short code attribute that will show a message if the referenced category is empty?

    For example, we have a document category “just added” that we display on our entry page – if there are no new documents I would like it to say something under the headline “just added” so I don’t have to take that title out every time we empty that category.

    Thanks
    Harmony

  • The topic ‘Add Message for Empty Category’ is closed to new replies.