{"id":4131953,"date":"2013-09-16T08:48:50","date_gmt":"2013-09-16T08:48:50","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/code-into-template-exclude-category\/"},"modified":"2016-08-21T05:12:24","modified_gmt":"2016-08-21T05:12:24","slug":"code-into-template-exclude-category","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/code-into-template-exclude-category\/","title":{"rendered":"Code into template \/ exclude category?"},"content":{"rendered":"<p>Hi, I was wondering if it&#8217;s possible to do this: I need to embed a map into the loop (blog). The code should be<br \/>\n<code>&lt;?php echo do_shortcode(&#039;[wpgmza id=&quot;1&quot;]&#039;);?&gt;<\/code><\/p>\n<p>I need to show the map only in one blog category. Is it possible to exclude blog categories?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wp-google-maps\/<\/p>\n","protected":false},"template":"","class_list":["post-4131953","topic","type-topic","status-closed","hentry","topic-tag-embed","topic-tag-template"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4131953","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\/4131953\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4131953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}