WordPress.org

Forums

WooCommerce - excelling eCommerce
How to show parent catregory title on sub category page ? (1 post)

  1. davidjs
    Member
    Posted 1 year 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.

    http://wordpress.org/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.