WordPress.org

Ready to get started?Download WordPress

Forums

test for parent categories (1 post)

  1. Cathy Tibbles
    Member
    Posted 3 years ago #

    I'm trying to add a section to the category.php template, and I want this section to show up only on the TOP level categories. so far, the section is showing up on every category. Here's what I hve so far:

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

Topic Closed

This topic has been closed to new replies.

About this Topic