Conditional in Taxonomys

Support MB Conditional Logic Conditional in Taxonomys

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2126
    MikelMikel
    Participant

    Hi, It is possible to create a condition for the taxonomys children??

    #2127
    Tan NguyenTan Nguyen
    Participant

    Yes, you can inspect element to see taxonomy name or id to create conditional logic. For example:

    Visible when post category is 99

    
    'visible' => ['post_category', 99]
    

    Visible when post_category is in 55, 66 and 77

    
    'visible' => ['post_category', 'in', [55,66,77]]
    

    Post Category works same as other Taxonomies

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Conditional in Taxonomys’ is closed to new replies.