WordPress.org

Ready to get started?Download WordPress

Forums

template exclusive for subcategories (1 post)

  1. setnaps
    Member
    Posted 3 years ago #

    Good afternoon.

    You all know that wordpress comes with a category.php template that says what and how to display when accessing a category page.

    But this works ALSO for subcategories.

    My question is simple, is there a way to create a subcategory.php that becomes the template for subcategories only and not for categories?

    So category pages will show up using category.php but subcategories will show up using subcategory.php

    Thank you very much

    Vic

Topic Closed

This topic has been closed to new replies.

About this Topic