Forums › Forums › Search & Filter Pro › multiple pages result are not working
Tagged: multi page results not working
- This topic has 78 replies, 3 voices, and was last updated 9 years, 1 month ago by
Anonymous.
-
Anonymous(Private) April 9, 2016 at 12:57 am #42118
Hello,
im currently testing search and filter, and im pretty happy with the result.
but i dont manage to get multiple pages working. they only work on the main url at first load.
as soon as i am using search and filter and have the results displayed, the pageswitch is not reacting.“slow disco” has several pages as result
as i am planing to have more then 1000 entries there, i definitely need multi page results.
greetings
RobertAnonymous(Private) April 9, 2016 at 9:52 am #42131im using the theme cara, and i tried all the display options in search and filter, ajax, non ajax. only ajax on result. it all results in the same matter. switching pages doesnt work. there is no error. hitting the button for another page or next just refreshes the ajax kind of and the first page stays.
greetings
Robert
Trevor(Private) April 11, 2016 at 9:26 am #42235Hi
I changed it to the standard archive method. It does not want to work as a post archive because it is on the Home page I think. I set it to use the theme’s index.php template, which is the standard home page template for Cara.
To avoid the 404 errors happening on categories with no posts, you could, in the category element setup in the form, hide empty values.
Trevor(Private) April 11, 2016 at 9:58 am #42247Q1. can you tell me what that change to standard “archive” means?
A1. I think the Post Archives is expecting a page NOT to be the home page. Many sites have a static home page, and a separate blog page for the standard posts, so the URL might behttp://mysite.com/blog/
and if you have a Custom Post Type of, say, Houses, the URL might behttp://mysite.com/houses/
. In either of these, S&F would be OK using the Post Archives method. BUT, your theme (as most do) uses a custom template for the home page (it is not the standard ‘archives’ template) and by using the Archives mthod this allows you (me) to specify the actually template in use, in most cases for the home page this is index.php. In practical terms, the only difference that you will see is the id in the url.Q2. does search and filter get the order of results from standard post order? cause im looking for a way to reorder the search results /posts.
A1. Search and filter uses the date published as the order (ascending or descending). To later this, you need a very popular (free) plugin called Post Types Order. This allows you to re-order posts by dragging and dropping them.Anonymous(Private) April 11, 2016 at 10:27 am #42250all right thank you for helping, everything works fine now.
i did setup a “query_posts(‘&meta_key=order&orderby=meta_value’);” to have it ordered by a custom field.(as i am importing all my blog entries via excel, that custom field is very helpful then)
all solved. thanks a lot!
-
AuthorPosts