Forums › Forums › Search & Filter Pro › Pagination: clicking page 2 will show page 1 results
Tagged: pagination
- This topic has 10 replies, 2 voices, and was last updated 8 years, 4 months ago by Trevor.
-
Anonymous(Private) July 13, 2016 at 8:22 am #51018
Hi,
I notice a few more posts on pagination, but I’m unsure if it is the same.
For me, if the filter results are more than 1 page, clicking on 2 or higher will simply load the page 1 results again.
Is this the same bug others are asking about?Second, a fix was mentioned in a post two weeks ago. If the other stuff is taking some more time, maybe a hotfix would be in order? Im also a little anxious to find out if the issue I have is going to go away with the update or not.
Trevor(Private) July 13, 2016 at 10:08 am #51025Hi
In the first instance I would need to take a look in your admin to see what is going on. It is true there have been some posts with pagination issues, but the solution often is not with Search & Filter but in either the setup or the theme.
You can see me a reply with logins, but mark it private.
Anonymous(Private) July 13, 2016 at 2:03 pm #51035I have, by the way, been going over some of the settings, and tried to display results:
– as an archive, no custom template
– as an archive, search.php
– as an archive, archive.php
All with same results: the first page of results keeps loading.
‘Normal’ archives’ pagination works.
I have seen the faqs on ‘the loop’, but I am not sure how to set this up. Would you expect the use of no custom template to not result in any issues, or could this still be a problem with some themes or settings?Anonymous(Private) July 13, 2016 at 3:00 pm #51039I’ve created a sft.php and used that to ply around. No success so far. My theme’s archive.php does seem to have ‘the loop’, so I am not sure where to start editing, really.
If it is already obvious to you what the issue would be, please advise on what other lines of code I should use.Thanks
<?php get_header(); ?>
<?php // Get Theme Options from Database
$theme_options = dynamicnews_theme_options();
?><div id=”wrap” class=”container clearfix”>
<section id=”content” class=”primary” role=”main”>
<?php if (have_posts()) : while (have_posts()) : the_post();
get_template_part( ‘content’, $theme_options[‘posts_length’] );
endwhile;
dynamicnews_display_pagination();
endif; ?>
</section>
<span class=”notranslate no_translate”>
<?php get_sidebar(); ?>
</span>
</div>
<span class=”no_translate notranslate”>
<?php get_footer(); ?>
</span> -
AuthorPosts