Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › No pagination in Store List
Tagged: pagination, short code, store list
- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by nicovega.
- AuthorPosts
- May 31, 2020 at 3:04 pm #136908nicovegaParticipant
Hello,
I added the short code
[wcfm_stores]
without atrributes, but the pagination doesn’t workBy clicking on the next page, show page 1 again
I need help.
Thank you very much.
- June 1, 2020 at 11:53 am #137196Sarmistha ChakrabortyMember
Hello,
Sorry, unfortunately as of now we haven’t the feature display store lists with pagination in the home page. In the “Home page” pagination will not work.
What you can –
1. Add “Store Lists” slider in the “Home Page” using[wcfm_stores_carousel includes=""]
shortcode.
OR
2. Create another “Store lists” page, and in “home page” pagination redirect to that “Store lists” second page. Using below code –add_filter('wcfm_store_list_pagination_args',function($pagination_args){ if ( is_home() || is_front_page() ) { $pagination_args['base'] = 'https://pedir.clicoapp.com/stores/page/%#%/'; /**create "stores" page**/ } return $pagination_args; },10);
Thanks.
- June 1, 2020 at 12:40 pm #137214nicovegaParticipant
Thank you very much!!
- AuthorPosts
- You must be logged in to reply to this topic.