Support » Plugin: A-Z Listing » How to show specific category Woo-commerce Products

  • Resolved aqibrehman223


    Hi Daniel,

    Firstly, Thanks for this astonishing plugin.

    Basically I’m looking for the shortcode which shows the specific category products. Actually now I’m using this shortcode [a-z-listing display="posts" post-type="product"] which shows all product listing, So basically what I want? I want to show only one category of the products listing. Many thanks in advance 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel Llewellyn



    To filter the list to a products in a specific category, you can use:

    [a-z-listing display="posts" post-type="product" taxonomy="product_cat" terms="cat-slug"]

    You can find the appropriate slug to use in place of cat-slug by navigating to /wp-admin/edit-tags.php?taxonomy=product_cat&post_type=product. You should see the slug for each category on the fourth column of the list of categories.



    Thank for the help.

    It’s working great 🙂




    Yes thanks for a great plugin.

    How can you filter the list to display products from specific categories.

    Below doesn’t work for me so must need a tweak, thanks. The terms I have in are Woocommerce category ID’s.

    [a-z-listing post-type=”product” taxonomy=”product_cat” terms=”56,57″]

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.