Support » Plugin: WooCommerce » Adding specific Categories via shortcode

  • Resolved Darthside


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roy Ho


    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.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding specific Categories via shortcode’ is closed to new replies.