[resolved] Adding specific Categories via shortcode (3 posts)

  1. Darthside
    Posted 2 years ago #

    I am trying to display certain product categories using the [product_categories number=""] shortcode.

    I have tried entering the category number between the "", to no effect. It still displays all categories.

    What I am trying to do is display different categories using multiple instances of the shortcode. For example:

    I want the first instance to show : CatA, CatB, CatC.
    and another to show CatD, CatE, and CatF.

    Could somebody provide guidance? (preferably not involving coding, as I am not too familiar with coding, lol.) I'd appreciate it! Thanks.


  2. Roy Ho
    Posted 2 years ago #

    Actually the number field is for how many products to show, not which category you want to show. You would want to add ids="" and list the categories you want to show separated by commas.

  3. Darthside
    Posted 2 years ago #

    Thank you Roy! I've been pulling my hair out trying to figure it out for 2 days. :/

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.