Forums Forums Search & Filter Pro Taxonomy archive for shared taxonomy broken

  • This topic has 11 replies, 3 voices, and was last updated 8 years ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 11 total)
  • Trevor
    #139562

    If (and that is a BIG assumption) I understand you right, you want the page to show results based on your query if no filter has been run, and use S&F query IF a filter has been run?

    If, so MAYBE this would help:

    https://support.searchandfilter.com/forums/topic/results-appear-only-on-submit/#post-116180

    Where you can have different code in the template in each yes/no section.

    Anonymous
    #139566

    Let me try again.

    I want to use the automagic “Enable filtering on Taxonomy Archives” on some taxonomy archives of a post type, but not all.

    I’ve read the source and I can see that the way the magical ‘attachment’ to tax archives works is something like, ( in Search_Filter->archive_query_init_later() ):

    Is the current taxonomy archive associated with one of the post types that one of my forms uses, and if so, and $enable_taxonomy_archives is true, then baam, I'll add a post_type argument to the query to match only those post types selected in the form setup (this query tweaking happens in a subsequent hook - initially, it just sets the search_filter_id at that point).

    I need to selectively stop this from happening on some shared taxonomy archives, because it is excluding results from other post types on those tax archive screens.

    I’m not even showing the form on the archive pages in question, but the hook, and associated unwanted query conditions, are still running, in the background, and breaking the share archives.

    Trevor
    #139577
    This reply has been marked as private.
    Ross Moderator
    #139699
    This reply has been marked as private.
    Anonymous
    #139727
    This reply has been marked as private.
    Anonymous
    #140834
    This reply has been marked as private.
    Anonymous
    #141522

    I’m a paid customer, and I’d appreciate some feedback please. The beta version of the plugin that you supplied addressed my original issue, but there are several others that have cropped up.

    I’ll start another thread with the latest I’ve detected, but either way, I’d like some help. The site I’m using your plugin on is complex with a large number of taxonomies and custom post types. Your plugin appeared, at first glance to be a good fit for a us, but as further issues emerge, we’re getting nervous as to whether it is going to work.

    Ross Moderator
    #141525

    Hi Rob

    I missed your last post, apologies.

    I’ll take a look at your latest issue tomorrow and get this sorted.

    Thanks

    Trevor
    #141533
    This reply has been marked as private.
    Ross Moderator
    #141704
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 11 total)