Forums Forums Search & Filter Pro Pagination & Results counting doesn't work

Viewing 10 posts - 11 through 20 (of 23 total)
  • Trevor
    #78854

    Ross will be back in the office tomorrow.

    Anonymous
    #78861
    This reply has been marked as private.
    Trevor
    #78867

    The folder name is wrong. It should be shorter: search-filter

    Anonymous
    #79108
    This reply has been marked as private.
    Trevor
    #79116

    I do not see the url being updated with the query?

    Anonymous
    #79118
    This reply has been marked as private.
    Trevor
    #79120

    Does it work now? If it does, see how I changed the args array at the start?

    Anonymous
    #79122

    Yes, it does. Can you tell me what you did in order to work? I just followed the instructiona from documentation…

    Trevor
    #79124

    Your 2096.php template had this:

    $args = array(
    	'post_type' => 'product',
    	'posts_per_page' => 12
    	);

    It now has this:

    $args = array(
    ‘post_type’ => ‘product’,
    ‘posts_per_page’ => 12,
    ‘search_filter_id’ => 2096
    );`

    See how I added the comma after 12 to allow another argument, and then added the argument to add the search & Filter parameters.

    This is because you made your own query (with $loop = new WP_Query( $args );) in the template file.

    Anonymous
    #79126
    This reply has been marked as private.
Viewing 10 posts - 11 through 20 (of 23 total)