• Resolved hjerem

    (@hjerem)


    Hi ! Thanks for this awesome plugin ??

    I wonder if it’s possible to have a dropdown of all availabe Att. Tags to filter MLA gallery like in wordpress admin page, in media gallery at the top (at the left of button “Terms Search”).

    • This topic was modified 8 years ago by hjerem.
    • This topic was modified 8 years ago by hjerem.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hjerem

    (@hjerem)

    After reading documentation I succeed to do it:

    
    <form id="mla-text-form" action="." method="post" class="row">
    <strong>Att. Tags</strong>
    [mla_term_list taxonomy=attachment_tag mla_output=dropdown mla_option_value="{+slug+}" show_count=true pad_counts=false ]
     
    <input id="text-form-submit" name="text_form_submit" type="submit" value="Search" />
    </form>
     
    <h3>Gallery</h3>
    [mla_gallery]
    attachment_tag="{+template:({+request:tax_input.attachment_tag+}|no-term-selected)+}"
    [/mla_gallery]
    
    Plugin Author David Lingren

    (@dglingren)

    Thanks for your question and for the time you took to study the documentation and develop a solution for your application!

    I will leave this topic resolved, but please update it if you have any problems or further questions regarding the [mla_term_list] shortcode and its parameters. Thanks for your interest in the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does Att. Tags dropdown exist for filtering gallery ?’ is closed to new replies.