{"id":11689838,"date":"2019-07-01T17:12:59","date_gmt":"2019-07-01T17:12:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/shortcode-not-working-while-triggering-with-php\/"},"modified":"2019-07-01T17:12:59","modified_gmt":"2019-07-01T17:12:59","slug":"shortcode-not-working-while-triggering-with-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/shortcode-not-working-while-triggering-with-php\/","title":{"rendered":"Shortcode not working while triggering with php"},"content":{"rendered":"<p>Hi,<br \/>\nI am unable to display pop up while triggering with php.<br \/>\nMy short code is [wpterms id=&#8221;2230&#8243;].<br \/>\nI want to display the pop up using php code such as : {echo do_shortcode( &#8216;[wpterms id=&#8221;2230&#8243;]&#8217; );}<br \/>\nPop should be displayed on the home page. I have tried enabling and displaying the pop up option on that page,but still the pop does not appear.<br \/>\nI have set the cookies expiry time to 0. The pop up working fine when enabled for the page without any php code.<br \/>\nCan you help me with this?<br \/>\nThank you.<\/p>\n","protected":false},"template":"","class_list":["post-11689838","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/11689838","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\/11689838\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=11689838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}