Title: Conditional Function Not working
Last modified: August 6, 2018

---

# Conditional Function Not working

 *  [leochan](https://wordpress.org/support/users/leochan/)
 * (@leochan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/conditional-function-not-working/)
 * Hi Guys, I’m developing a website that uses custom taxonomy to organise and filter
   the products, for example “Car Model”, “Car Year”, “Transmission” and “Engines”
   to filter, but when for example I select “Car Model”=Outback and “Car year”=2012
   the next dropdown “Transmission” should show only “5 Speed Manual Cable Shift”
   but it keeps showing all other options, so i assume the conditional function 
   is not working in this case, could guys help me to understand why once this is
   a very important function for this website, i would really appreciate your help
 * I have used “Custom Post Type UI” plugin to create the custom taxonomies, (Hierarchical
   selected as true) I was wondering if the dropdowns are not filtering because 
   the custom taxonomies are not related to each other? (I mean although i turned
   the hierarchical to true, I did not specify the hierarchy between my custom taxonomy?
   if so how can do that
 * many many thanks for this plugin, after searching for a good time yours are really
   the best i have found, i just need to get the filtering right so i can continue
   the project
 * Any help is really appreciated if you want a login on the website please let 
   me know
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-function-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [maxgx](https://wordpress.org/support/users/maxgx/)
 * (@maxgx)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/conditional-function-not-working/#post-10570266)
 * [@leochan](https://wordpress.org/support/users/leochan/) not sure of the outcome
   you are expecting on the link above, but i too was after the solution to the 
   conditional function, and i can confirm that, on my setup, version 2.4.0 already
   had fixed the issue.
 * in my case, i keep seeing all other filters’ options, but the ones that do not
   match are disabled rather than hidden: maybe it’s just a case of applying some
   css to hide disabled options completely?

Viewing 1 replies (of 1 total)

The topic ‘Conditional Function Not working’ is closed to new replies.

 * ![](https://ps.w.org/beautiful-taxonomy-filters/assets/icon-256x256.png?rev=1654967)
 * [Beautiful taxonomy filters](https://wordpress.org/plugins/beautiful-taxonomy-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beautiful-taxonomy-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/reviews/)

## Tags

 * [conditional](https://wordpress.org/support/topic-tag/conditional/)

 * 1 reply
 * 2 participants
 * Last reply from: [maxgx](https://wordpress.org/support/users/maxgx/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/conditional-function-not-working/#post-10570266)
 * Status: not resolved