WordPress.org

Ready to get started?Download WordPress

Forums

I need help please (Sub_cats and parant cats) (1 post)

  1. begga212
    Member
    Posted 6 years ago #

    I am trying to get the name of the parent category.
    For example:
    On a sub_cat page
    I want a page title of
    "Home - Parent Category - Sub catogory"

    Can "is_category()" see difference between a parent category and a sub cat?
    Or what function should I use to make it see the difference and use elseif ?

Topic Closed

This topic has been closed to new replies.

About this Topic