Title: Display stores with shortcode
Last modified: June 30, 2019

---

# Display stores with shortcode

 *  Resolved [rquang](https://wordpress.org/support/users/rquang/)
 * (@rquang)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/)
 * When displaying the vendors with the shortcode:
    `[wcfm_stores]`
 * Can we do the following:
    - Hide all stores with no products in them?
    - Query for specific groups? Ex. I have a group setup based on membership. I
      would like to only show the vendors that belong to the group using the shortcode.
 *  -  This topic was modified 6 years, 11 months ago by [rquang](https://wordpress.org/support/users/rquang/).
    -  This topic was modified 6 years, 11 months ago by [rquang](https://wordpress.org/support/users/rquang/).

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * (@wclovers)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11688600)
 * Hi,
 * You are allowed to do all these!
 * Please go though this – [https://docs.wclovers.com/store-list/](https://docs.wclovers.com/store-list/)
 * Thank You
 *  Thread Starter [rquang](https://wordpress.org/support/users/rquang/)
 * (@rquang)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11688615)
 * How do I show just by a group/membership?
 * `[wcfm_stores search="group"]`
    -  This reply was modified 6 years, 11 months ago by [rquang](https://wordpress.org/support/users/rquang/).
 *  Plugin Author [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * (@wclovers)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11692777)
 * HI,
 * Please go though this – [https://docs.wclovers.com/store-list/](https://docs.wclovers.com/store-list/)
 * There has an option “exclude_membership”, please check that short code attribute.
 * Thank you
 *  Thread Starter [rquang](https://wordpress.org/support/users/rquang/)
 * (@rquang)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11693180)
 * I understand that there is a exclude option, but for my case I only want to show
   a certain membership or group.
 *  Plugin Author [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * (@wclovers)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11694936)
 * HI,
 * **I understand that there is a exclude option, but for my case I only want to
   show a certain membership or group.**
 * – Right, I understand your requirement.
 * “exclude_membership” – this attribute will do the trick for you.
 * Suppose you have 3 membership and their ids are – 54, 58, 60
 * Now, you want to show only membership id “58” vendors in the page, so you have
   to exclude other memberships from page.
 * Then your short code will be this – `[wcfm_stores exclude_membership="54,60"]`
 * Hope now it’s clear to you 🙂
 * Thank You
 *  Thread Starter [rquang](https://wordpress.org/support/users/rquang/)
 * (@rquang)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11722800)
 * Yes, but I have vendors that don’t belong in membership/group and they will show
   up. I only want to show a specific group.
 *  Plugin Author [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * (@wclovers)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11729719)
 * Hi,
 * We will add “include_membership” attribute for this short code in next update–
 * `[wcfm_stores include_membership="54,60"]`
 * Thank You

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Display stores with shortcode’ is closed to new replies.

 * ![](https://ps.w.org/wc-frontend-manager/assets/icon-256x256.jpg?rev=1800818)
 * [WCFM - Frontend Manager for WooCommerce](https://wordpress.org/plugins/wc-frontend-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-frontend-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-frontend-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-frontend-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-frontend-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-frontend-manager/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/display-stores-with-shortcode/#post-11729719)
 * Status: resolved