- This topic has 1 reply, 2 voices, and was last updated 7 years, 7 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Pagination with WP-PageNavi using WPBakery VC Add-on
Tagged: pagination, wp-pagenavi, WPBakery
Hi!
I’m currently displaying my custom form and search results using the WPBakery Add-on, specifically with the “Post Masonry Grid” module on this webpage.
Since I’ll be displaying a good amount of items and I can’t get AJAX to work, I opted for pagination, showing 15 items at a time (selected under the S&F “General” settings, having the “WordPress pagination” option selected on the “Post Masonry Grid” WPBakery add-on).
I realized that my default pagination is a bit lacking, so I installed WP-PageNavi. Following the plugin’s instructions to find and replace the necessary code (at “search-filter-pro/templates/results.php”), I saw example code to support WP-PageNavi already inserted.
The output from WP-PageNavi wasn’t appearing, so I tried following WP-PageNavi’s instructions to the tee, replacing code as specified, but still, the default pagination is displayed.
Hoping to see if you might have suggestions or guidance here. Thinking it might be because I’m targeting the wrong code to replace.
Thanks!
Jameson
I think that plugin will not work with PageNavi, as the pagination code in WPBakery’s plugin is very different. That means you will not get the control you want. Styling would have to be done using Custom CSS, but functionality as pretty much set as it is.