Title: Shortcode filter not working
Last modified: March 21, 2019

---

# Shortcode filter not working

 *  Resolved [alchemizt](https://wordpress.org/support/users/alchemizt/)
 * (@alchemizt)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/shortcode-filter-not-working/)
 * The shortcodes to filter videos by taxonomy don’t do anything. The page I linked
   has this shortcode: **[video_grid filter=”tax::post_tag::is::retreat;”]**
 * Which should display only one video since there’s only one video with that tag,
   but it displays all videos in the database. I tried tax::categpry too and it 
   doesn’t work. Other filters
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-filter-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [alchemizt](https://wordpress.org/support/users/alchemizt/)
 * (@alchemizt)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/shortcode-filter-not-working/#post-11341229)
 * UPDATE: I did a bit of debugging and found the problem, in **class-emd-query.
   php**, in the args_filter() function, for some reason the double quotes were 
   ending up in the arguments, like this:
    Array ( [0] => “tax [1] => category [
   2] => is [3] => retreat )
 * After removing the double quotes, so the shortcode is like this: [video_grid 
   filter=tax::post_tag::is::retreat;]
 * it works. So it seems the problem was with the double quote characters, they 
   weren’t being interpreted as double quotes for some reason.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode filter not working’ is closed to new replies.

 * ![](https://ps.w.org/youtube-showcase/assets/icon-256x256.png?rev=2252569)
 * [Video Gallery – YouTube Gallery & Responsive Video Playlist](https://wordpress.org/plugins/youtube-showcase/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-showcase/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-showcase/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-showcase/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-showcase/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-showcase/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [alchemizt](https://wordpress.org/support/users/alchemizt/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/shortcode-filter-not-working/#post-11341229)
 * Status: resolved