• Resolved rscarter1

    (@rscarter1)


    On a page, I call a taxonomy pod using the template beelow. THis gives me a list of taxonomy terms. How can I display ONLY those categories that have attached posts?

    <article>
    <a href="{@permalink,esc_url}">{@name}</a>
    </article>

    I’ve tried something like this but I get 0 results.

    <article>
    [if count > "0"]<a href="{@permalink,esc_url}">{@name}</a>[/if]
    </article>
    • This topic was modified 9 months, 3 weeks ago by rscarter1.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only Show Categories with Posts’ is closed to new replies.