Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Lingren

    (@dglingren)

    Oliver,

    Thank you for the kind words and for this suggestion. I am going to be working on the taxonomy features for my next version and I will add this to my list; it seems a good idea.

    I will leave this topic unresolved and update it when the next version goes out.

    Thread Starter Olivier Burgard

    (@olivier-burgard)

    Hi David,

    Using the plugin, I got an other request from my parents for their blog : they didn’t want to see the pictures of the children categories.

    So in class-mla-data.php, I add the ‘include_children’ option for that.

    $clean_request['tax_query'] = array(
                                    array(
                                       'include_children' => false,
                                       'taxonomy' => $tax_filter,
                                       'field' => 'id',
                                       'terms' => array(
                                          (int) $clean_request['mla_filter_term']
                                       )
                                    )
                                  );

    Do you think it would be a good idea to add a global option so people can choose if they want to see the content of the sub-categories or not ?

    By the way, your code is very well commented and easy to read, thanks for that ! :o)

    Olivier.

    Plugin Author David Lingren

    (@dglingren)

    Thanks for this additional suggestion and for the kind words about the code.

    I will add your suggestion to my list for the next version.

    Plugin Author David Lingren

    (@dglingren)

    I have released version 1.50, which includes both of your suggestions. On the Settings/Media Library Assistant General tab you can set the depth and child handling for the filter-by taxonomy on the Media/Assistant submenu.

    Please let me know if you have any problems with or further questions about this new feature. Thanks again for your interest and for your suggestions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Depth limit in mla_get_taxonomy_filter_dropdown’ is closed to new replies.