{"id":10778256,"date":"2018-10-14T00:29:13","date_gmt":"2018-10-14T00:29:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-php-echo-the-regenerated-post-thumbnail\/"},"modified":"2018-10-14T00:29:53","modified_gmt":"2018-10-14T00:29:53","slug":"how-to-php-echo-the-regenerated-post-thumbnail","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-php-echo-the-regenerated-post-thumbnail\/","title":{"rendered":"How to &#8220;PHP echo&#8221; the regenerated post thumbnail"},"content":{"rendered":"<p>Hello,<\/p>\n<p>I am surprised that I can&#8217;t find any docs about this..<\/p>\n<p>Here&#8217;s the problem.<\/p>\n<p>I have created a custom template that displays the posts featured image like this:<\/p>\n<p><code>&lt;img src=&quot;&lt;?php echo get_the_post_thumbnail_url(); ?&gt;&quot;&gt;<\/code><\/p>\n<p>However, I would like to display the picture with the so called &#8220;medium_large&#8221; thumbnail size. What is the cleanest PHP code to do so?<\/p>\n<p>Thanks,<br \/>\nAnd please add this to the plugin description as it is the most important thing to write!!<\/p>\n","protected":false},"template":"","class_list":["post-10778256","topic","type-topic","status-publish","hentry","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10778256","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":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10778256\/revisions"}],"predecessor-version":[{"id":10778260,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10778256\/revisions\/10778260"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10778256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}