Forums Forums Search & Filter Pro Multiple results per page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #231137

    I would like to set up two different views of my results. The first is a Calendar table of all programs that meet the filter criteria. The second are tiles in a more traditional results page. I am able to get both the table and the tiles to display, however they are limited by the posts per page set on the filter. I need to be able to display all of the programs in the calendar that match the search at once, not just those on that specific page of the results.

    How can I keep the posts per page setting for the tiles, but have no limit in the calendar? I am happy to provide my complete custom results page code if that’s helpful.

    Thanks for your help.

    Trevor
    #231210

    How is the page to be displayed?

    Are you able to make a version of the page, simply missing the filtering, so I can see how it would work without intervention from our plugin?

    The chances are that you will need to set up two nearly identical forms, both set to ‘Custom’, and where you run two queries in your template, where one of the arguments in each queriy’s argument array is that of the related form, e.g.:

    'search_filter_id' => 1234;

    Trevor
    #231212

    I would add that I cannot be certain that this would work, but IF it can be made to work, I would guess it would be like this.

    Anonymous
    #231338

    Trevor,

    Thanks for you response, I think I am following. I may need a hand wrapping my head around this process.

    To confirm the steps:
    1. Do I leave the search form shortcode as is?
    2. Do I remove the results shortcodes and replace with custom queries in the page template? I am using custom results templates so perhaps the queries can go there? There is a lot of work done in those at the moment, so that would be ideal on my end. The pages themselves have a slew of custom layouts and the like which I can’t mess with. I am not sure if a code block would take PHP.

    Trevor
    #231362
    This reply has been marked as private.
    Anonymous
    #231375
    This reply has been marked as private.
    Trevor
    #231377
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)