Can't work multiple tags in shortcode
-
Hi,
I have just tried using 3 shortcodes on 1 page and it doesn’t seem to working. I have pasted the following shortcode in the first row:
[display-posts tag=”featured female” post_status=”publish” image_size=”thumbnail” posts_per_page=”5″ orderby=”rand”]
and tried this:
[display-posts tag=”featured male” post_status=”publish” image_size=”thumbnail” posts_per_page=”5″ orderby=”rand”]
in the next row and it is still showing the ‘featured female’ posts. I also tried the following shortcodes:
[display-posts tag=”featured+male” post_status=”publish” image_size=”thumbnail” posts_per_page=”5″ orderby=”rand”]
and:
[display-posts taxonomy=”post_tag” tax_term=”=”featured, male” tax_operator=”AND” post_status=”publish” image_size=”thumbnail” posts_per_page=”5″ orderby=”rand”]
and still no change. Can I use the shortcode 3 times on the one page?
Cheers.
https://www.ads-software.com/plugins/display-posts-shortcode/
- The topic ‘Can't work multiple tags in shortcode’ is closed to new replies.