• Resolved Solasido

    (@solasido)


    Hi,

    I’m currently using this plugin for my website and I enjoy it, but I have one little problem that’s giving me a hard time, maybe you will be able to help me !

    I’m using a shortcode to display my terms from a particular taxonomy and it’s working as I’d like it to do, it shows me my terms (parents and childs).

    Now, my problem is that when I want to add terms from another taxonomy, it displays only the childs terms from this second taxonomy, and not the parents one.

    My syntax is :
    <?php echo do_shortcode(‘[searchandfilter taxonomies=”taxonomy1,taxonomy2″ types=”checkbox,checkbox” post_types=”post_type” hierarchical=”1″]’); ?>

    Thanks for your help !

    https://ww.wp.xz.cn/plugins/search-filter/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ross Morsali

    (@designsandcode)

    Hey Solasido

    That sounds very strange, I’m not getting those problems here…

    Try setting the second taxonomy to hierarchial too and see if that changes anything? (theres an extra “,1” for hierarchical)

    <?php echo do_shortcode('[searchandfilter taxonomies="taxonomy1,taxonomy2" types="checkbox,checkbox" post_types="post_type" hierarchical="1,1"]'); ?>

    Thanks

    Thread Starter Solasido

    (@solasido)

    Yep, I just added this extra “,1” and it seems to work, thanks a lot (I guess I must have skipped it when I looked at the documentation) !

    Plugin Author Ross Morsali

    (@designsandcode)

    No problem 🙂 to be honest it should always show all terms, but it seems to do with hierarchical so will look in to it..

    Feel free to leave us a rating by way of supporting the plugin 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Multiple Taxonomies Checkbox’ is closed to new replies.