Instantly share code, notes, and snippets.
This gist looks to have a function that's not used. You can't PR a gist, but I've forked this and amended to be inline with other gists you have. Tried and tested on my current project, to confirm: https://gist.github.com/eddhurst/d148b8a93c16acdeb8fd3865e5d8eb9f
Sorry, something went wrong.
How do you add && wp_is_mobile to the code?
Any chance we can get an example of an $arg['tax_query']?
Nothing I do seems to have an effect.