• Resolved brad hogan

    (@bradley2083)


    Hey there. So I have a template for my post type archive (e.g. Candidates) with the filter options, then I also have an archive template for custom taxonomies (e.g. Endorsements).

    If someone is viewing an individual candidate they will see a list of endorsements (the custom taxonomies) that candidate has been associated with (Labor, Business, Environment, etc.).

    If you click one of those taxonomy links (Labor, Business, etc.), then the user goes to my archive template for custom taxonomies. The filter options are on this page in dropdown form.

    Is there a way to have my “Endorsements” filter dropdown show the current taxonomy when the person lands on that page? So if I were to click “Labor” then I’m on the Labor Archive page could my Endorsements filter dropdown show Labor?

    Cheers,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @bradley2083

    Unfortunately, no. In the drop-down list, this option will be grayed out, in the checkboxes it will appear grayed out and marked (it is not actually marked, it just looks like that to show that you are already on this page). In reality, it is not possible to choose it, as it will create duplications if you choose on category “cars” filter term from the category “cars”.

    Best Regards – Victor

    Thread Starter brad hogan

    (@bradley2083)

    Ok, is there a way then to at least sort the items in a dropdown in whatever order is defined by a plugin like Category Order and Taxonomy Terms Order so I can have a bit more organization in a longer list of taxonomies? (using nested / hierarchical taxonomies as well just fyi). I think it almost works but for some reason the child taxonomies aren’t ordered under the parent.

    • This reply was modified 1 month, 1 week ago by brad hogan.
    Plugin Support fesupportteam

    (@fesupportteam)

    Hi?@bradley2083

    To make a custom order of filter terms you would need to use the custom coding and thew hook wpc_terms_before_display

    Please check this page for more information – https://filtereverything.pro/resources/hooks/#terms-before-display-hook

    Best Regards – Victor

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.