The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

How to show parent catregory title on sub category page ? (1 post)

  1. davidjs
    Posted 2 years ago #

    Im trying to figure out the code to show the top level parent category title on sub category pages. In my design I need to show the current category being viewed and the top parent category title. This is like a bread crumb but the two titles go in very different places in my design.

    If Im viewing Category 1 > sub cat 1 > sub cat 2 then I would like to display two tiles on this category page - Category 1 and sub cat 2

    If Im viewing a product inside sub cat 2, then its the same thing only my page will also show the product title.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.