I’ve enabled a custom taxonomy that can be set for every media file being uploaded and I want to be able to adjust the query within /rtmedia/media/media-gallery.php
Normally I would go about it like this:<?php $args = array( 'tax_query' => array( array( 'taxonomy' => 'media-category', 'field' => 'slug', 'terms' => 'test-neu' ) ) ); get_posts( $args ); ?>
for this taxonomy ‘media-category’, to output the posts which have the term ‘test-neu’
For some reason this isn’t working with global $rtmedia_query
Thoughts? Thanks in advance!