A deal you can't resist! Get upto 35% Off on this entire cyber week.

00Day 03Hr 44Min 25Sec

Stores list on different page causing pagination issues

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 WCFM Stores list on different page causing pagination issues

Viewing 1 reply thread
  • Author
    • #127202

      Hi, I used the ‘Stores list’ shortcode on 2 pages.
      1. Stores list page https://www.thejurassiccoast.co/stores/
      2. On homepage https://www.thejurassiccoast.co

      On page 1, it is showing correctly.
      But on the homepage I cannot go to next page of the stores list. When I click 2 (next page), it refreshes the page. I know the issue but can’t fix it.
      The issue is that, the pagination buttons have this link https://www.thejurassiccoast.co/page/2/ instead of https://www.thejurassiccoast.co/stores/page/2

      So we cannot use the ‘stores list’ on any other page.
      Please let me know how to fix it.


    • #127610


      By-default “Store list” pagination does not work in home page, But “[wcfm_stores]” this will work in other pages with pagination.

      For your requirement you can add this code in your theme’s functions.php, hope it will meet your requirement –

      	if ( is_home() || is_front_page() ) {
      		$pagination_args['base'] = 'https://www.thejurassiccoast.co/stores/page/%#%/';
      	return $pagination_args;


Viewing 1 reply thread
  • You must be logged in to reply to this topic.