WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Adding specific Categories via shortcode (3 posts)

  1. Darthside
    Member
    Posted 7 months 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.

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

  2. Roy Ho
    Member
    Posted 7 months 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
    Member
    Posted 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.