WordPress.org

Support

Support » WP-Advanced » I need help please (Sub_cats and parant cats)

I need help please (Sub_cats and parant cats)

  • 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 ?

  • The topic ‘I need help please (Sub_cats and parant cats)’ is closed to new replies.