{"id":7170765,"date":"2016-03-14T19:07:54","date_gmt":"2016-03-14T19:07:54","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-in-html\/"},"modified":"2016-08-31T14:40:29","modified_gmt":"2016-08-31T14:40:29","slug":"php-in-html","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-in-html\/","title":{"rendered":"PHP in HTML"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am making simple statements in HTML to reference WP operators. My HTML tags (<code>&lt;p&gt;<\/code>, <code>&lt;em&gt;<\/code>) do not display wrapping around the WP operator. Example of my code below. Any help is appreciated:)<\/p>\n<pre><code>else {\necho the_post_thumbnail();\necho &#039;&lt;h4&gt;&lt;a href=&quot;&#039;. get_permalink() .&#039;&quot; title=&quot;&#039;. the_title_attribute( array( &#039;echo&#039; =&gt; 0 ) ) .&#039;&quot;&gt;&#039;. get_the_title() .&#039;&lt;\/a&gt;&lt;\/h4&gt;&#039;;\necho &#039;&lt;p&gt;&lt;em&gt;&#039; .the_category( &#039; &#039; ). &#039;&lt;\/em&gt;&lt;\/p&gt;&#039;;\necho &#039;&lt;p&gt;&#039; .excerpt(&#039;20&#039;). &#039;&lt;\/p&gt;&#039;;\n}<\/code><\/pre>\n","protected":false},"template":"","class_list":["post-7170765","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7170765","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\/7170765\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7170765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}