{"id":756,"date":"2009-07-15T14:40:07","date_gmt":"2009-07-15T14:40:07","guid":{"rendered":"http:\/\/demo.solostream.com\/wp-mediamag\/?p=756"},"modified":"2014-11-12T15:02:20","modified_gmt":"2014-11-12T15:02:20","slug":"how-to-add-featured-article-images","status":"publish","type":"post","link":"https:\/\/demo.solostream.com\/wp-mediamag\/2009\/07\/15\/how-to-add-featured-article-images\/","title":{"rendered":"How to Add Featured Article Images"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-medium wp-image-757\" title=\"iStock_000001064620Small\" src=\"http:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/07\/iStock_000001064620Small-300x110.jpg\" alt=\"iStock_000001064620Small\" width=\"300\" height=\"110\" srcset=\"https:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/07\/iStock_000001064620Small-300x110.jpg 300w, https:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/07\/iStock_000001064620Small-1024x376.jpg 1024w, https:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/07\/iStock_000001064620Small.jpg 1143w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>If you look at the homepage of this site, you&#8217;ll see 3 featured articles show at the top; each with an image. It&#8217;s very simple to add these images.<\/p>\n<p><strong>First, get the size right<\/strong>. The ideal size for your featured article images is 300px wide x 200px high. If you upload an image with a size that&#8217;s different than this, the image will automatically be resized to 300&#215;200.<\/p>\n<h2>Option 1 \u2013 Use the \u201cGet The Image\u201d Plugin<\/h2>\n<p>This plugin, created by a savvy WordPress developer named Justin Tadlock, will greatly simplify the task of placing your post thumbnail images right where they belong.<\/p>\n<p><strong>Download the plugin <a href=\"http:\/\/wordpress.org\/extend\/plugins\/get-the-image\/\">here<\/a><\/strong> or add it through your WordPress control panel. Install and activate.<\/p>\n<h3>What This Plugin Will Do<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2014\/11\/gallery.gif\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignright size-medium wp-image-683\" title=\"gallery\" src=\"http:\/\/demo.solostream.com\/wp-mediamag\/wp-content\/uploads\/sites\/30\/2009\/04\/gallery-269x300.gif\" alt=\"gallery\" width=\"269\" height=\"300\" \/><\/a><strong>1. It will look for any images<\/strong> that you\u2019ve uploaded to your post.<\/p>\n<p><strong>2. If it finds one or more images<\/strong>, it will automatically place the 1st image \u2013 as a your featured article image \u2013 where it belongs on your site.<\/p>\n<p><strong>3. If you have uploaded multiple images to your post<\/strong>, it will use the #1 image as set in the gallery section of your media uploader (click thumbnail to the right).<\/p>\n<p><strong>4. If you don\u2019t want the image to appear in the post content<\/strong>, just don\u2019t insert it into the post. The plugin will still grab the 1st image you\u2019ve uploaded to the post and place it correctly.<\/p>\n<p><strong>5. If you don\u2019t upload any images<\/strong> for the post, a default image will appear.<\/p>\n<h2>Option 2 \u2013 Use Custom Fields<\/h2>\n<p><strong>If, for whatever reason, you prefer not to use the plugin<\/strong>, you can simply use custom fields. With this method, you will need to scroll down to the Custom Fields section on the Write Post screen and fill in the appropriate data.<\/p>\n<p><strong>For featured article images<\/strong>:<\/p>\n<ul>\n<li>Name = home_feature_photo<\/li>\n<li>Value = the URL for the image (get the image URL from the media uploader)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If you look at the homepage of this site, you&#8217;ll see 3 featured articles show at the top; each with an image. It&#8217;s very simple to add these images. First, get the size right. The ideal size for your featured article images is 300px wide x 200px high. If you upload an image with a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-756","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"acf":[],"_links":{"self":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts\/756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/comments?post=756"}],"version-history":[{"count":2,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts\/756\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/posts\/756\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/media?parent=756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/categories?post=756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/demo.solostream.com\/wp-mediamag\/wp-json\/wp\/v2\/tags?post=756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}