Forums Forums Search & Filter Pro This custom code isn't working anymore after update to 2.03

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #32693

    No searchfields or taxonomies are displayed (via shortcode)
    Results are displaying when removing “<?php sf_pagination_prev_next($query->query[‘paged’], $query->max_num_pages); ?>
    <?php sf_pagination_numbers($query->query[‘paged’], $query->max_num_pages, ” “); ?>
    ” this seems to be the showstopper

    Ross Moderator
    #32694

    Hey Peer

    Yup the pagination is the issue.

    In some very old version of S&F we used a custom pagination function, which were dropped after not being in use for very long in favour of WordPress standards.

    Check the results.php template included in the Search & Filter plugin folder to see the new usage 🙂

    You can also use the wp-pagenavi plugin (https://en-gb.wordpress.org/plugins/wp-pagenavi/)

    Thanks!

    Anonymous
    #32700

    Thanks,
    the pagination is working now, but there are still no filters beinfg diplayed…

    Best
    P.

    Anonymous
    #32701

    As soon as I set the display results method to “shortcode” the filters are not displayed….

    Ross Moderator
    #32738

    Thats really strange.

    It sounds like a PHP error is being thrown somewhere.

    Can you check for any errors and copy them here by enabling debug mode:

    https://codex.wordpress.org/Debugging_in_WordPress

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)