Looking for support? You can access the support system via your account.
Forums › Forums › Search & Filter Pro › Linking multiple dropdowns (taxonomy switcher / linking taxonomies)
- This topic has 12 replies, 2 voices, and was last updated 5 years, 2 months ago by Christian Thorne.
-
Christian Thorne(Private) January 24, 2019 at 9:16 am #199880
Hi,
I am trying to link new taxonomies, so when the first dropdown is selected it presents a list of related/linked taxonomies in the second dropdown, but I’m not sure how to link them up?
http://mediaworldwide.co.uk/perfect-storm/ams-test-site/case-studies/
I searched the forum for ‘taxonomy switcher’ and found a couple of your posts. I have created a new taxonomy called sector (not using any hierarchies), this new taxonomy is in the first dropdown, but I can’t see how that links to sub categories in the 2nd dropdown (for example a user could select energy sector in the 1st dropdown, which would show a list of different energy taxonomies in the 2nds dropdown)?
P.S. This post was in another topic but not related, so I thought best to start a new one.
Thanks,
ChristianTrevor Moderator(Private) January 24, 2019 at 12:52 pm #199916WordPress does not use a Relational Database System. Instead, the terms used in posts cause the links to be established. To switch this feature of Search & Filter Pro on, in the General settings tab:
Set
Auto Count
(both settings) toON
And then in the Form UI:
In each field set
Hide Empty
toON
Christian Thorne(Private) January 28, 2019 at 10:41 am #200089Okay, so this method will get the same results like in your demo… For example you if you select film certificate PG, it changes the ratings?
Christian Thorne(Private) January 28, 2019 at 4:20 pm #200200I have added a custom taxonomy ‘sectors_test’ it’s showing in the dropdown menu, but when I select it, it’s not showing the assigned post.
https://www.screencast.com/t/CEoStElNYhsY
I am using the ‘Custom Post Type UI’ plugin to create the custom taxonomy, it might be an issue with that, is there a pluign you recomend, or would you advise to add it manually via PHP?
Thanks
Trevor Moderator(Private) January 28, 2019 at 4:59 pm #200232This reply has been marked as private.Christian Thorne(Private) January 29, 2019 at 9:01 am #200406Okay great I’ll stick with the ‘Custom Post Type UI’ plugin…
Apologies for asking so many questions, I think I’m getting close.
I’m not editing that form now, or today, so if you want to go in that would be great. I’m going to try and build a brand new form/page and start from fresh.
The issue I have is understanding how the custom taxonomies link together in the dropdown menu see here https://www.screencast.com/t/uyvtwxs0oY4x … I’m trying to figure out if there is an option using the CPT UI plugin, that allows you to create a hierarchal or child/parent system, or do you think it’s better to do this manually via PHP?
If I’m on the right track could you please recommend the best way to do it?
———————————————
CPT NOT SHOWING ISSUE
Regarding the other issue “when you click on the sector test option the CPT doesn’t show” https://www.screencast.com/t/WW0riTHvm related to this page http://mediaworldwide.co.uk/perfect-storm/ams-test-site/case-studies/I’ve assigned the CPT to the CT using this option https://www.screencast.com/t/1erfOBWwi6x is this correct?
Thanks for all you help.
Trevor Moderator(Private) January 29, 2019 at 12:08 pm #200441This reply has been marked as private.Christian Thorne(Private) January 29, 2019 at 1:53 pm #200463Yes I can do Skype, and I’m on UK time,, I’m free anytime this afternoon, or anytime tomorrow?
Trevor Moderator(Private) January 29, 2019 at 3:27 pm #200480This reply has been marked as private. -
AuthorPosts
You must be logged in to reply to this topic.