{"id":11339,"date":"2019-06-20T10:02:22","date_gmt":"2019-06-20T10:02:22","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=11339"},"modified":"2019-06-20T10:02:51","modified_gmt":"2019-06-20T10:02:51","slug":"how-to-get-the-first-image-as-a-featured-image-automatically","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-get-the-first-image-as-a-featured-image-automatically\/","title":{"rendered":"How to get the first image as a featured Image automatically"},"content":{"rendered":"\n<p><strong>Follow this simple steps:<\/strong><\/p>\n\n\n\n<p>You will find this option in <strong>WordPress Dashboard<\/strong> -&gt; <strong>AMP option panel<\/strong> -&gt; <strong>Advanced Settings<\/strong> -&gt; Enable \u201c<strong>Featured Image from the Content<\/strong>\u201d option and click on the &#8220;<strong>Save changes<\/strong>&#8221; button.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" loading=\"lazy\" width=\"395\" height=\"631\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1.png\" alt=\"\" class=\"wp-image-11340\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1.png 395w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1-188x300.png 188w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1-31x50.png 31w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1-38x60.png 38w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-1-1-63x100.png 63w\" sizes=\"(max-width: 395px) 100vw, 395px\" \/><\/figure><\/div>\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=\"934\" height=\"238\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2.png\" alt=\"\" class=\"wp-image-11341\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2.png 934w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2-300x76.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2-768x196.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2-50x13.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2-60x15.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/06\/content-2-100x25.png 100w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/figure>\n\n\n\n<ul><li><strong>Featured Image from the Content:<\/strong> Show the first image of the content as Featured Image if there is no featured image. <\/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>Follow this simple steps: You will find this option in WordPress Dashboard -&gt; AMP option panel -&gt; Advanced Settings -&gt; Enable \u201cFeatured Image from the Content\u201d option and click on the &#8220;Save changes&#8221; button. Scroll down a little to see this option Featured Image from the Content: Show the first&#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\/11339"}],"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=11339"}],"version-history":[{"count":10,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/11339\/revisions"}],"predecessor-version":[{"id":11367,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/11339\/revisions\/11367"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=11339"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=11339"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=11339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}