Conditional in Taxonomys

Support MB Conditional Logic Conditional in Taxonomys

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2721
    SinusiteSinusite
    Participant

    Hi

    'hidden' => array('taxo_service', 'in', array(36, 5, 4)),

    work... not :

    'hidden' => array('slug:taxo_service', 'in', array('aup', 'ab', 'ae')),

    Any idea ?

    Thank you.

    #2730
    Tan NguyenTan Nguyen
    Participant

    Dear Sinusite,

    As it works with DOM element,

    Please change taxo_service to tax_query[taxo_service]

    Best regards,

    Tan Nguyen

    #2731
    SinusiteSinusite
    Participant

    Hi Tan and thanks

    i tried this without success :

    'hidden' => array('slug:tax_query[taxo_service]', 'in', array('aup', 'ab', 'ae')),
    'hidden' => array('tax_query[taxo_service]', 'in', array('aup', 'ab', 'ae')),

    but i think you're right, the default taxonomies metaboxes are hidden (with css) in my case so the DOM will not be parsed...

    Does include/exclude extension is working with fields or only with metaboxes ?

    Thanks

    #2733
    Tan NguyenTan Nguyen
    Participant

    Hi Sinusite,

    In your case, the plugin works if they can retrieve DOM values by .attr('checked') or .val() jQuery methods. I'm not sure it works with DOM which hidden by CSS or not.

    Include/Exclude only works with whole meta box not fields.

    Best regards,

    Tan

    #2734
    SinusiteSinusite
    Participant

    okay, copy that 🙂
    You can close.

    #2736
    Tan NguyenTan Nguyen
    Participant

    Have a nice day and please don't hesitate to tell me if you have another question 🙂

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