• Resolved alchemizt

    (@alchemizt)


    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 to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter alchemizt

    (@alchemizt)

    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.