{"id":9749,"date":"2019-05-13T06:18:41","date_gmt":"2019-05-13T06:18:41","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=9749"},"modified":"2019-05-13T09:43:53","modified_gmt":"2019-05-13T09:43:53","slug":"how-to-use-featured-image-for-custom-fields","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-use-featured-image-for-custom-fields\/","title":{"rendered":"How to use Featured Image For Custom Fields?"},"content":{"rendered":"\n<p>If you created Custom Fields for Non-AMP. Custom filed is not appear in AMP . if you want this option is render in AMP you need to enable option in AMP. <\/p>\n\n\n\n<p>First go to <strong>WordPress Admin Area<\/strong> -&gt;<strong> AMP option panel<\/strong> -&gt; <strong>Settings<\/strong> -&gt; <strong>Advance Settings<\/strong> -&gt;<strong> Featured Image from Custom Fields:<\/strong> <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"398\" height=\"629\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1.png\" alt=\"\" class=\"wp-image-9750\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1.png 398w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1-190x300.png 190w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1-32x50.png 32w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1-38x60.png 38w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-1-63x100.png 63w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/figure>\n\n\n\n<p>Scroll down a little to see this option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"854\" height=\"160\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2.png\" alt=\"\" class=\"wp-image-9752\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2.png 854w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2-300x56.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2-768x144.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2-50x9.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2-60x11.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Feature-image-2-100x19.png 100w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/figure>\n\n\n\n<ul><li><strong>Featured Image from Custom Fields:&nbsp;<\/strong>You just need to enable this to enter the name of your custom field.<\/li><li><strong>Custom Field For Featured Image:<\/strong> In this field, you need to enter the name of your custom field.<\/li><\/ul>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>If you created Custom Fields for Non-AMP. Custom filed is not appear in AMP . if you want this option is render in AMP you need to enable option in AMP. First go to WordPress Admin Area -&gt; AMP option panel -&gt; Settings -&gt; Advance Settings -&gt; Featured Image from&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9749"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=9749"}],"version-history":[{"count":9,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9749\/revisions"}],"predecessor-version":[{"id":9792,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/9749\/revisions\/9792"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=9749"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=9749"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=9749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}