[resolved] Displaying all top level Product Categories (4 posts)

  1. VirtbizGuy
    Posted 3 years ago #

    I would like to display my four top level categories at the top of my Shop/Home page in WooCommerce. Can someone tell me the short code I would use. Thanks.


  2. VirtbizGuy
    Posted 3 years ago #

    Any chance of some help on this? Great plugin but I need to know whether I need one of the WooThemes in order to show the categories as described.

  3. royho
    Plugin Author

    Posted 3 years ago #

    If there isn't already a shortcode for it, it is still rather simple to produce. You can just use the WordPress API WP_Query to create your own custom query to extract this information from the database. Or you can try WC_Query class which is WooCommerce's native query class.

  4. VirtbizGuy
    Posted 3 years ago #

    Thank you very much for that help. I'll use the WP_Query.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic