Forums › Forums › Search & Filter Pro › Pagination
- This topic has 9 replies, 2 voices, and was last updated 9 years, 11 months ago by Ross.
-
Anonymous(Private) November 4, 2014 at 7:17 pm #7024
Hi,
I would like the pagination to look like the rest of my site. I am using Ajax results with a custom template and the pagination is used from the results.php template, not my theme. I see you have nice looking pagination that comes from your theme in your demo: http://demo.designsandcode.com/sfpro-movie-reviews/video-demo/
How can I use this with Ajax and results as shortcode? Your help is appreciated.
Ross Moderator(Private) November 6, 2014 at 10:48 am #7092Hey Colette
Lazy load is a good idea, it already on my to do list ๐
RE styling like existing pagination..
You can actually create your pagination however you want.. the only thing that needs to be added to your pagination links is a class and a data attribute:
<a href="#" data-page-number="1" class="pagi-num">Page 1</a>
So you must add the class
pagi-num
so S&F can find the link, and then there must be the data attributedata-page-number
The movies demo is out of date and does not use this yet.
Does that make sense?
Thanks
Anonymous(Private) November 7, 2014 at 9:15 pm #7232Hi Ross,
I would like to have my pagination look like our blog if we cannot have the load more yet. II know this must be changed in the PHP file, but I didn’t want to hack the plugin without consulting you first. Here is an example: http://dev.workforcesoftware.com/resources/blog/workforce-management/page/2/
Ross Moderator(Private) January 8, 2015 at 4:01 pm #9949Hey Colette
The latest version of the plugin allows for regular pagination (which should fit in with your blog) no problem ๐
See the included results.php file for usage.
Thanks
Ross Moderator(Private) January 8, 2015 at 10:43 pm #9974It was out before Christmas ๐ – v1.4.0
-
AuthorPosts