{"id":12957709,"date":"2020-06-09T02:35:45","date_gmt":"2020-06-09T02:35:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shortcode-to-show-only-post-with-certain-tag\/"},"modified":"2020-06-09T02:35:45","modified_gmt":"2020-06-09T02:35:45","slug":"shortcode-to-show-only-post-with-certain-tag","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shortcode-to-show-only-post-with-certain-tag\/","title":{"rendered":"Shortcode to show only post with certain tag"},"content":{"rendered":"<p>Hello,<br \/>\nI&#8217;m trying to use shortcode to display only posts that have the tag &#8220;CalPlug&#8221; however all posts are being displayed. I need only posts that are tagged, &#8220;CalPlug&#8221; to display. Can you tell me what I&#8217;m doing wrong? Thanks.<br \/>\n[wpp header=&#8217;CalPlug in the News&#8217; post_tag=&#8217;CalPlug&#8217; range=&#8221;all&#8221; freshness=1 stats_views=0<br \/>\nstats_date=1 thumbnail_width=80 thumbnail_height=80 excerpt_format=1<br \/>\nexcerpt_length=115 stats_author=0<br \/>\npost_html=&#8221;<\/p>\n<li>{thumb} {title} {stats}<br \/>\n&lt;div&gt;{summary}&lt;\/div&gt;<\/li>\n<p>&#8220;]<\/p>\n","protected":false},"template":"","class_list":["post-12957709","topic","type-topic","status-publish","hentry","topic-tag-shortcode"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12957709","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/12957709\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=12957709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}