Forums Forums Search & Filter Pro Pagination not working on results page (using shortcode)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #255302

    I’ve created a search & filter for posts using a shortcode to display results but the pagination isn’t working: https://nwhn.blackbaudwp.com/search-filter-test-1/

    Notes:

    • I’ve setup a custom results.php file in my WP child theme folder that is using <?php the_posts_pagination(); ?> to add numbered pagination.
    • Here are screenshots of my search & filter display results setup, WP child theme files and results.php file: https://drive.google.com/drive/folders/1ol0RgTTJayHuG0TDgDR9eUBwfZU1qwH1?usp=sharing
    • I’m using the beaver builder plugin to add the shortcode to my page (ICYW – I cannot add the Search & Filter – Beaver Builder Extension plugin due pluggin activation restrictions from my hosting team)

    Thanks for your help!

    Trevor
    #255322

    As that function (the_posts_pagination()) is calling external (to the results.php template) code, the chances are that it is not initialised when our template is being used. You would (most likely) need to find the actual code being run by that function and bring it inside the results.php template to run there.

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