Gallery shortcode – source taxonomy
-
Hello
when the source is “taxonomy”, even if you have media taged with the specific term, the plugin returns an error “No media found”.
It’s because media status is always “inherit” and not included in the “any” (“any” applies only to posts, pages, etc…
So I added a line in the file includes/function-galleries.php$query['post_type'] = 'any'; // -> new line $query['post_status'] = array( 'inherit', 'any' ) ;
and it works.
Can you add that to the next update please ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Gallery shortcode – source taxonomy’ is closed to new replies.