How to retain format when using echo do_shortcode([wcfm_stores])

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace How to retain format when using echo do_shortcode([wcfm_stores])

Viewing 0 reply threads
  • Author
    Posts
    • #136028
      rkostkas
      Participant

      Hi, I really like your Store List feature using shortcode, so I want to use it on one of my web pages. However, I needed some conditional logic before displaying a certain set of the store list, for example:
      if( is_user_logged_in() %% wcfm_get_membership() == ’73’ ) {echo do_shortcode( ‘[wcfm_stores include_membership=”74″ has_map=”no”]’, true);}
      The logic works, but the nice format of the store list is totally lost and the Search functions on the left sidebar are no where to be found. So, how can I achieve the original store list format and still include this conditional logic. Thanks very much for your help in advance.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.