{"id":16625125,"date":"2023-04-04T10:54:44","date_gmt":"2023-04-04T10:54:44","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/display-availability-in-php\/"},"modified":"2023-04-04T10:54:44","modified_gmt":"2023-04-04T10:54:44","slug":"display-availability-in-php","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/display-availability-in-php\/","title":{"rendered":"Display availability in php?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi,<br \/>I&#8217;m building a template using Elementor Pro but I would like to show a section like a flag on the top left corner, where it will say &#8220;To Let&#8221; or &#8220;Let Agreed&#8221; etc.<br \/><br \/>Is there a way to display this maybe in a php snippet which I can then pull out on the template page? I can&#8217;t see how to add the code?<\/p>\n","protected":false},"template":"","class_list":["post-16625125","topic","type-topic","status-publish","hentry","topic-tag-code","topic-tag-flag","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/16625125","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\/16625125\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=16625125"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}