Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author DesignsAndCode

    (@designsandcode)

    I’ve replied in teh other thread ??

    This is a question for “gombroo”. The creator of this plugin is not offering support on this forum anymore and I tried to find the information referenced in the reply “I’ve replied in teh other thread :)” but drawing a blank.

    Could you share the answer in this thread? I (and it seems many others) have the same problem.

    Many thanks,
    Geoff.

    Thread Starter gombroo

    (@gombroo)

    Hi Geoff,

    I think it’s here: https://www.ads-software.com/support/topic/custom-post-types-and-taxes?replies=6#post-8516749

    I waited so long for the reply that I gave up including this search engine into my site.

    Please let me (and others) if it works. Thanks!

    Thanks for replying. I’m digging into the php code and I’ll post what I find.

    I think it might be related to that post i.e. “might be trying to use the same taxonomy (or category) many times?”. However, that begs the question as to the purpose of offering a checkbox option – it’s obviously going to select the same taxonomy many times. If that is a restriction then only a radio option (i.e. only 1 can be selected) should be available.

    Thanks again!

    Plugin Author DesignsAndCode

    (@designsandcode)

    Hey gedavies

    We do offer support here! – just take a look at the threads – plenty of resolved – unfortunately we are stretched thin (we have hired staff to help support the pro plugin) so answers over here may not be so timely..

    But I do make sure to go through them ?? The next step is to get one of our support staff to manage these forums too – but that means we need to hire first :/

    Best

    Plugin Author DesignsAndCode

    (@designsandcode)

    RE the question, the way S&F is setup is that you can only use a taxonomy once to create a field.

    So yeah this is a limitation for now – if you want multiple selection you’ll have to use a checkbox field or multiselect – if you find a hack pls share and I’ll add it to the plugin.

    Thanks

    I read the first “sticky” post in the support forum saying “We are currently unable to offer support via these forums as all resources are dedicated to the pro version of our plugin – we literally do not have the resource…”.

    I totally understands that point – got to pay the bills. I (and obviously many others) appreciate the excellent free plugin.

    I am a little confused by your last reply

    if you want multiple selection you’ll have to use a checkbox field or multiselect

    The problem being encountered IS the use of the multiselect or checkbox. If you select more than one category/tag , the search only uses the first checked/selected entry e.g. tag A and B are selected but only entries with tag A are retrieved. This isn’t an AND/OR issue as I’ve created entries with all combinations. The search is returning more results than A AND B – all A’s are retrieved.

    And FYI, the the url clearly states that it is reading both tags in the checkbox – ../forums/topic-tag/Absolute+Beginner/

    If this is a restriction on the search filter then surely multiselect/checkbox is pointless?

    Many thanks for the update. I’ll definitely post any workaround I find.

    Plugin Author DesignsAndCode

    (@designsandcode)

    Ahhh sorry that sticky is so old and part of the furniture I forgot it was there! I’ve been slowly spending more time on here and am hoping to get the tickets system looked after properly in the near future – pat on the back to myself for putting that up there and leaving it haha ??

    RE what you mention above – with the URL being generated – “../forums/topic-tag/Absolute+Beginner/”

    If this is coming up as the URL after submitting a search with multiple terms then S&F is working perfectly fine!

    It seems like a dirty secret of wordpress, which is actually great functionality, but those URLs and not special S&F urls, they are native to wordpress – as in WordPress supports them, and will show a taxonomy archive page with all the terms in the URL.

    If they have a “+” between them it works like and AND operation, as in only posts with which belong to both of those terms will be shown. If they are separated with a “,” then it will show results with either of those terms – eg

    “../forums/topic-tag/Absolute,Beginner/”

    As mentioned, this is a feature of WP, so if its not working in your setup then there may be an issue with your theme doing something strange to these types of URLs…

    Try it on a default theme, with S&F disabled and you will see – I’ve manually added the second term to the URL and as there is only one post in the category “adventures” you can see the the posts in “abroad” are also listed on the page.
    https://twentysixteendemo.wordpress.com/category/adventures,abroad/

    Actually, thinking about it, it could be possible that your forum software might be handling the interpretation of the URLs and doesn’t take the additional terms into account…

    Hope that helps!

    Hi and thanks for the update.

    I should have added that
    1) I’d already created a default wordpress install and experienced the problem with the default theme
    2) I am trying to get it working with bbpress as the forum software.

    I suspect you are right in that it may be a bbpress/S&F interaction problem. Unfortunately that means I will have to dig deeper into the code.

    Thanks again!

    Encountered similar problem.

    While submiting several checkboxed tags, I recevived page not found error.

    In address bar plus + was added instead of comma between the tags.

    /Absolute+Beginner/

    I tried default theme, but it didn’t do the trick. I use buddypress – might be the reason for query change – dunno.

    SOLUTION to this might be kind of simple. This worked for me:

    search-filter.php
    line 371

    $operators[$i] =  "and"; //use default

    changed to

    $operators[$i] =  "or"; //use default

    After that the query in address bar changed to
    /Absolute,Beginner/

    Hi damdamdam,

    Unfortunately, it is not as simple as that. I am explicitly stating AND in the shortcode parameters because I only want bbpress topics that have A AND B. The problem is nothing to do with AND or OR. The query ignores multiple topic tags and just uses the first one.

    I am only getting topics with A. I want topics with A AND B

    Sorry to hear that – it worked with my trouble of not-displaying posts. Hopefully, you’ll find another solution.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Displaying only the first category selected in search results – why?’ is closed to new replies.