Title: fredericnicefrench's Replies | WordPress.org

---

# fredericnicefrench

  [  ](https://wordpress.org/support/users/fredericnicefrench/)

 *   [Profile](https://wordpress.org/support/users/fredericnicefrench/)
 *   [Topics Started](https://wordpress.org/support/users/fredericnicefrench/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fredericnicefrench/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fredericnicefrench/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fredericnicefrench/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fredericnicefrench/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fredericnicefrench/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] how to Gallery with tax_query and url param](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/)
 *  Thread Starter [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/)
 * (@fredericnicefrench)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/#post-12918763)
 * hello
    first thank you sincerely for your help !
 * for this gallery the code is all the same than the other but with one filter 
   on type of file :
    post_mime_type=’audio,video’
 * After i have read your answer i disable the other rendering gallery (delete line
   mla_alt_shortcode=gallery type=”rectangular) because for rendering icon audio
   files and icon video files we dont need a special design . and it s work fine
   without use for this gallery the other plugin renderer .
    thank’s again . Frederic
    -  This reply was modified 5 years, 11 months ago by [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] how to Gallery with tax_query and url param](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/)
 *  Thread Starter [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/)
 * (@fredericnicefrench)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/#post-12913940)
 * re,
    i have a probleme with post mime type you had removed the post_mime_type
   =image this good for image type but i have an another gallery the same like this
   but with : post_mime_type=’audio,video’ size=icon mla_caption=”{+title+}”
 * when i put this 3 lines in your code the gallery dont work .
 * thank you for help.
    FH ps code of other gallery :
 *     ```
       [mla_gallery ]
       tax_query="array(
       'relation' => 'AND',
       array(
       'taxonomy' => 'attachment_category',
       'field' => 'slug',
       'terms' => '{+template:({+request:_cat+}|no-term-selected)+}'
       ),
       array(
       'taxonomy' => 'attachment_category',
       'field' => 'slug',
       'terms' => 'prive',
       'operator' => 'NOT IN'
       )
       )"
       post_mime_type='audio,video'
       size=icon
       link=file
       columns = 4
       posts_per_page=12
       orderby="date"
       order = "DESC"
       mla_alt_shortcode=gallery
       type="rectangular"
       [/mla_gallery]
   
       <hr>
   
       [mla_gallery ]
       tax_query="array(
       'relation' => 'AND',
       array(
       'taxonomy' => 'attachment_category',
       'field' => 'slug',
       'terms' => '{+template:({+request:_cat+}|no-term-selected)+}'
       ),
       array(
       'taxonomy' => 'attachment_category',
       'field' => 'slug',
       'terms' => 'prive',
       'operator' => 'NOT IN'
       )
       )"
       mla_output='paginate_links,prev_next'
       posts_per_page=12
       orderby="date"
       order = "DESC"
       [/mla_gallery]
       ```
   
    -  This reply was modified 5 years, 11 months ago by [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Media Library Assistant] how to Gallery with tax_query and url param](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/)
 *  Thread Starter [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/)
 * (@fredericnicefrench)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/how-to-gallery-with-tax_query-and-url-parma/#post-12913754)
 * hello
    I tested your code , its work . thank you for your for quality help . 
   have nice day F.H
    -  This reply was modified 5 years, 11 months ago by [fredericnicefrench](https://wordpress.org/support/users/fredericnicefrench/).

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