Forums Forums Search & Filter Pro Issue – theme pagination and one taxonomy filter

  • This topic has 5 replies, 2 voices, and was last updated 9 years ago by Ross.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Anonymous
    #30011

    Good day,

    I’m having some problems with the search on the shop section of our site that you can view here http://lemonpet.com/shop/

    1) The theme’s (or perhaps woocommerce-generated?) pagination doesn’t function properly. It works ok when S&F doesn’t filter the content, but as soon as a search is done, the “?sf_paged=2” part is no longer appended to the theme’s pagination navigation. I’m talking about the 1-2-3 bullet nav at the bottom of the page, the Older/Newer posts link nav works fine but is not a desired choice of nav. Theme used is X by Themeco if it helps in any way.

    2) Another issue on the same page can be found in the search form in the sidebar. The six dropdowns are mostly custom made taxonomies with the Custom Post Type UI plugin. All of them work fine when selected EXCEPT the Pet Care Types taxonomy. I’m lost on this one and can’t even begin to suspect what might be the problem. Three items exist in said category and should show. Perhaps it’s worth noting it was a recently made new addition. Rebuilding cache does nothing.

    3) Please check this page -> http://lemonpet.com/product-category/pet-adoption/
    I would like to know if there is any way I can direct the search results from the sidebar form to point at that very same page. Currently the S&F search from redirect the search results to the shop but I would like to keep the results on this very same page witch is basically a product category archive. Is it possible and how?

    Thank you!

    Ross Moderator
    #30085

    Hey Martina

    To answer your questions:

    1) There were some issues with pagination on occasion – I’ve just sent you an update which should hopefully fix this.

    If this is still not working, then its possible your theme is doing something non-standard to the pagination. In this case, could you try the wp-pagenavi plugin? Usage should be something like:

    wp_pagenavi();

    2) This is unusual. I think you could have something in a plugin or custom code that modifies the S&F query, rendering any selections for that custom taxonomy useless – something like a greedy pre_get_posts?

    If this is not the case, then check the tabs Tags, Categories & Taxonomies, and also check the Post Meta tab – empty out any settings in these two tabs just for testing.

    3) I’m afraid not, but this feature is in the making 🙂

    Thanks

    Anonymous
    #30178

    Hello Ross, thanks for the reply!

    Issue 1 – I didn’t get a notification on my plugin to update it. I’m running some test with wp-pagenavi, but the theme is rather complicated to modify. I’ll see if I can find a way to make it work. Any other suggestions would be great.

    About issue 2, I tried playing around with the two tabs but no luck, and I haven’t been able to find anything about pre_get_posts. Tried creating the taxonomy anew and even tried creating it with a different plugin, but nothing changed. This is a really strange issue and I’m starting to suspect plugin conflict (there are A LOT active on the site). Any more thoughts on it?

    Another big issue I ran into was this one. Basically, woocommerce products getting created on the frontend and are visible on site, but the search won’t find them until the S&F form’s cache is manually rebuilt. Is there a function perhaps that I could add into functions.php (or somewhere else) that rebuilds the cache every X minutes? Or every time a product gets submitted? The woocommerce products are submitted frontend via this plugin.

    One last question; any chance to get a roughly estimated time issue 3 will be deployed? The current workaround is not the prettiest but I’d like to report a possible time frame to the client 🙂

    Anonymous
    #30192

    An update on the pagination problem – got the plugin to work and seems to be doing its job fine, so that’s sorted!

    Ross Moderator
    #30253

    Hey Martina

    If you have plugins that modify the main query then there is a good chance they are interfering with the search query.

    The logical thing would be to disable all other plugins, which at some stage we will have to do.

    However, you could try creating another search form with the Shortcode display method (follow steps here: http://www.designsandcode.com/documentation/search-filter-pro/getting-started/creating-your-first-search-form/)

    Should only take a few minutes to setup, then we can test whether this taxonomy works. The shortcode method is much less likely to be modified by other plugins than the other display methods – of course ignore anythign to do with layout in this test – we won’t be using it.

    Thanks

    Ross Moderator
    #30254

    PS issue 3 has been on my list since the last major release (it just didn’t make it) but really honestly I can’t put a timeline to that now – as a guestimate I would say in the next few weeks.

    Thanks

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