Forums Forums Search & Filter Pro Last page of pagination: Page Not found

Viewing 10 posts - 1 through 10 (of 16 total)
  • Anonymous
    #21103

    Hi,
    Im using custom post type with somethig like portfolio.
    Everything is fine except the last page from pagination.

    I got

    “Not Found
    Sorry, but the page you were trying to view does not exist.”

    Did someone has the same problem and know how to fix it?
    The problem is only with templates where I use searchfilter.

    regards
    Piotr

    Ross Moderator
    #21105

    Hi Piotr

    I’ve not come across that problem before.

    How are you generating your pagination?

    Do you have a link I could look at?

    Thanks

    Anonymous
    #21120

    I used custom results.php file.

    http://goo.gl/vd2I4q

    Try to go to the last page of pagination.

    many thanks

    regards

    Ross Moderator
    #21124

    Hey Piotr

    I think it may be your pagination functions.

    Can you enable the default pagination that is supplied with the results template, or try using WPPageNavi and send me a link again?

    Thanks

    Anonymous
    #21127

    take a look, I just changed labels for pagination:

    <div class=”pagin row p-5 mt-10″>
    <div class=”col-xs-12 text-right”>
    <span class=”amount”><?php echo $pagenr; ?> <?php echo $query->query[‘paged’]; ?> <?php echo $of; ?> <?php echo $query->max_num_pages; ?></span>

    <span class=”nav-next”><?php previous_posts_link( ‘<span class=”sr-only”>nastepna strona</span>’ ); ?></span>
    <span class=”nav-previous”><?php next_posts_link( ‘<span class=”sr-only”>poprzednia strona</span>’, $query->max_num_pages ); ?></span>

    </div>
    </div>

    regards

    Anonymous
    #21131

    Actually I went back to original results.php and still have the same issue.

    regards

    Ross Moderator
    #21200

    Hi Piotr

    Can you set up a test page for me to look at with the original results template?

    This will allow me to maybe figure out what is going on.

    Thanks

    Anonymous
    #21219

    You need a copy of wordpress with access?

    regards

    Ross Moderator
    #21220

    Ah no, just create a new search form and follow the instructions here under A Quick Tutorial:

    http://www.designsandcode.com/wordpress-plugins/search-filter-pro/docs/display-results/with-a-shortcode/

    Make sure this new search form is using the original results.php supplied with Search & Filter – then provide me with a link so I can test a “clean” version of S&F and the results template.

    Thanks

    Anonymous
    #21280

    Hi Ross

    Before I will take your time I’m trying to setup this again and differently but what I noticed is ajax doesnt work for pagination.
    Is it possible some how to get access to your live demo page?

    I would like to be sure I set up everything the same way.

    thangs

    Piotr

Viewing 10 posts - 1 through 10 (of 16 total)