How To Set Featured Image In WordPress? (TOP 5 Tips)

How to Set a Featured Image in WordPress

  1. Open the editor for the post or page.
  2. Click the gear icon in the top right corner to open the settings panel.
  3. In the settings panel under the Post tab, select Featured image Set featured image.
  4. Upload your featured image or select one from your media library.


How do I set a picture as featured image?

Click on the “Set featured image” link located in the “Featured Image” box. A new window will open the Media Library. Select any image that you have or upload a new one from the computer. Once you choose the image, click the “Set featured image” button.

How do I change the default featured image in WordPress?

Method 3: Using the WordPress Default Featured Image Plugin Upon activating the plugin, you need to go to Settings » Media and click on the Select Default Featured Image button. Select an image from your computer and make sure to save the changes.

What does set featured image mean in WordPress?

A featured image represents the contents, mood, or theme of a post or page. Posts and pages can have a single featured image, which many themes and tools can use to enhance the presentation of your site.

How do I fix featured image in WordPress?

Locate the Settings panel towards the right side of the page. Then, select the Post (or Page if editing a page) tab to reveal the post’s settings. Scroll down on that panel and open the Featured Image dropdown item. If you see the same photo under the Featured Image tab and in your content, that’s causing the problem! 4

How do I create a custom Post featured image in WordPress?

You can simply enable support Post thumbnail for any custom post type with the following line of code in the theme’s function. php file. add_post_type_support( ‘forum’, ‘thumbnail’ ); Note: Here, the forum is the post type name.

How do I find the featured image URL in WordPress?

If you’re using WordPress 4.4+ (released in 2015) you can use the get_the_post_thumbnail_url() function to return the URL of the featured post image. This is useful if you want to use the featured image URL in a background-image style or making a unique theme element that specifically needs the featured image URL.

How do I change the featured image in Elementor?

How to Edit the Featured Image – Elementor

  1. Log into WordPress like normal.
  2. Chose the page you would like to edit.
  3. Click on the page and select Edit with Elementor.
  4. Click on Settings in the control panel on the left and click Chose Image.

How do I get the thumbnail URL in WordPress?

To get the URL of a post thumbnail you need to add code to the theme template you are customizing. To learn more, refer to our guide on how to add custom code in WordPress. If you simply wanted to display the post thumbnail, then you could paste this code into the template you are working on, inside the WordPress loop.

Is featured image necessary?

Featured images are essential to engaging readers on your blog and through social media. On social media, featured images can help drive more traffic to your blog. If the image is particularly funny or emotional, it could even make your post go viral.

Does featured image Help SEO?

Featured images can both greatly enhance the appearance of your site and offer an engaging visual to an otherwise plain article or blog post. What’s more, incorporating keywords on the caption and alt text of the image can boost your site’s SEO.

How do I fix featured images appearing twice in WordPress posts?

Fixing the duplicate featured image in WordPress blog posts is quite easy. Simply open up the post where the image appears twice and delete the image inside the post editor. After that, make sure to click ‘Update’ to save your changes. Now, when you view your post, the featured image will only display once.

How do I turn off featured image in WordPress?

Simply edit the post where you want to hide the featured image. On the post edit screen, scroll down a little, and you will find the ‘ Show/Hide Featured Image ‘ metabox. You need to check the box next to ‘Hide Featured Image’ option. You can now save your post and preview it to see the plugin in action.

How do I restore missing WordPress featured image screen?

Try switching to a default WordPress theme to see if that solved it. Luckily there is a quick fix for this problem: edit the theme files (start looking in functions. php) and find a line that looks something like this: add_theme_support ( ‘post-thumbnails’, apply_filters( ‘pagelines_post-thumbnails’, array(‘post’) ) );

Featured Images

When you see a featured picture on a post or page, it symbolizes the contents, mood, or topic of that post or page. Posts and pages can each have a single featured picture, which can be used by a variety of themes and tools to improve the overall design of your site.

Table of Contents

Adding a Featured Image to Your Website Removing a Featured Image from your website Images for the Featured Header Other Featured Photographs Locate Themes that Complement Featured Images Custom header pictures allow you to show a photo of your choosing on the page headers of your blog. Features pictures allow for even more personalization by allowing you the opportunity to display custom header images for individual articles and pages or set thumbnails for special features of your theme, among other things.

Setting a Featured Image

Start by opening the editor of the post or page where you want to show a unique custom header picture and looking for theFeatured Image module on the right hand side of the screen. Set the featured image by clicking on it. For those of you who are using WP Admin and aren’t seeing theFeatured Imagemodule on your Add New or Edit Post pages, double-check that you have the Featured Image option selected in your Screen Options. You will see an uploading page comparable to that used wheninserting an imageinto a blog post.

  • Once the picture has been properly uploaded, you will see one or more thumbnails of the image shown on the screen.
  • It will then display with a blue outline and a checkbox next to it.
  • Then, in the bottom right of the page, click the buttonSet Featured Image: Remember to click the Update button on your post or page to preserve your changes.
  • Certain themes make use of featured photos in other ways, which may necessitate the usage of a specified image size in order for the theme to function effectively.
  • ↑ Section I: Table of Contents

Removing a Featured Image

Re-open the post or page editor and click theRemove featured imagelink in the Featured Picture module to make changes to or delete the featured image. The custom header picture will be displayed if you remove a featured image from the page’s content. ↑ The following is a table of contents: ↑ Please keep in mind that this function is only compatible with themes that allow for custom header pictures and have featured header images enabled.

Consider the following as an example of a custom header design: However, if you want to personalize your About page, you may do so by changing the header image for only that page: The following is the table of contents:

Other Featured Images

As an alternative to featured header pictures, a number of themes may be customized to include slideshows, article thumbnails, and images tied to highlighted posts, among other options. ↑ Section I: Table of Contents

Find Themes Supporting Featured Images

This link will take you to a list of all the themes that enable featured photos. Alternatively, go to theshowcaseand clickFeature, then selectShow All, and then scroll down the list until you find Featured Images.

How to Add Featured Images or Post Thumbnails in WordPress

Most themes include featured pictures, which are also known as post thumbnails, which are the prominent image for your blog articles. They display next to the title on your home page and on social media, and they are a well-known WordPress feature. We’ll teach you how to simply add featured pictures or post thumbnails to your WordPress site in this article. All popular WordPress themes come with built-in support for featured images or post thumbnails.

Beginners Guide to Featured Images in WordPress

Featured photos are a feature of the WordPress theme. Almost all WordPress themes provide built-in support for featured photos, which are displayed in an aesthetically pleasing manner throughout various places of your WordPress website. Visual components engage us more than simple text since we are visual creatures. Featured photos assist you in making your blog pages appear more visually attractive. They also aid in the development of user engagement and the rise of page visits. It is possible that search engines and social media websites may make use of these photographs, displaying them in search results and in the news feeds of social media websites.

Please keep in mind that featured photographs are not the same as the cover image.

After that, let’s have a look at how to quickly and simply add featured photos to your WordPress website.

Video Tutorial

Subscribe to WPBeginner’s newsletter. Continue reading if you’d prefer textual instructions instead of audio.

Adding Post Thumbnail or Featured Image in WordPress

To include a featured picture in a WordPress post, just update the existing post or create a new one. In the right column of the content editor, you’ll notice a button that says “featured picture.” You must first click on the ‘Set Featured Image’ box, which will then bring up the WordPress media uploader popup window, which you must complete. It is from this page that you may upload an image from your computer or select an image already stored in your media library. Once you’ve chosen your image, all you have to do is click on the Set Featured Image button.

Depending on your WordPress theme, the actual featured picture, on the other hand, may appear differently.

Once you’ve finished saving or publishing your article, you’ll be able to preview it to see how the featured picture appears on your live website. It is possible that your featured picture will show with your articles automatically, depending on the parameters established by your theme developer.

How to Find and Effectively Use Featured Images?

The second major issue that most newcomers have is where they may get photographs to utilize as featured images on their websites. You cannot just perform a Google image search and utilize any image that comes up on the internet. Those photographs are protected by copyright laws, and using them without permission may result in legal ramifications for the user. However, there are a variety of tools accessible to you that you may utilize to get free photographs to use in your blog entries. Our top picks are as follows:

  • Shutterstock– While they do offer a few free pictures, the main value is found in their premium plans, which provide access to thousands of high-quality photos, illustrations, drawings, videos, and other media. This is the template that we use for the WPBeginner website. Image courtesy of Unsplash, a prominent online resource that publishes high-resolution photographs that you may use on your website and in other projects. Negative Space is a well-organized collection of photos that are not protected by intellectual property rights. An archive of old pictures culled from public archives is known as New Old Stock. Keep in mind that all of these sites feature high-resolution photographs, which implies that their file sizes and dimensions are considerable. Before utilizing photos as featured images, you’ll want to make sure they’re optimized for the web. Your WordPress theme is in charge of handling featured photos. You’ll need some basic CSS or WordPress coding abilities in order to modify the way your theme displays featured photos. In the event that you are already familiar with code, continue reading for additional information.
You might be interested:  What Is A Pingback In Wordpress? (Question)

Theme Developers Guide to Featured Image and Post Thumbnails in WordPress

It is a popular feature supported by virtually all WordPress themes, and it is shown as the featured picture. It is possible to stumble into a theme that does not support featured photos, or that you do not like the way the theme handles featured images. This is an uncommon occurrence. In such situation, you may either add featured image support to your theme or modify the appearance of the featured picture. If you are comfortable editing WordPress theme files and are familiar with a little custom CSS, you should be able to complete the task on your own.

  • You must include the following line of code within your theme’s functions.php file: add theme support(‘post-thumbnails’); to enable featured image support in your WordPress theme.
  • You will now be able to access the posts or pageblock editor, where the featured picture choice will be available.
  • It is necessary to update the templates in your theme in order to display featured photos.
  • The files into which you place the aforementioned code will change depending on your theme.
  • Refer to theWordPress theme hierarchy cheat sheet to have a better understanding of how themes function in WordPress.
  • You must include the following line of code in yourfunctions.phpfile.set post thumbnail size(50, 50); in order to set the image size for featured photos you submit.
  • You may optionally specify other image sizes to be used with the post thumbnail() method in addition to the default image size.
  • the following code is used: add image size(‘single-post-thumbnail’, 590, 180); The image size single-post-thumbnail has been created with a 590px width and 180px height, as seen in the following example.
  • For more information, please see our article on how to add extra image sizes to WordPress.
  • The featured picture function with a defined image size is demonstrated in the example below.

single-post-thumbnail = the post thumbnail(‘single-post-thumbnail’); This is a condensed version of the entire capabilities; it is not complete. Other things may be done with featured photographs in addition to the ones listed above.

FAQs About Featured Images in WordPress

  • As a beginner, you may come across questions or issues when using featured images on your blog. Following are just some of the most frequently asked questions about featured images. 1. Why featured image is appearing twice on my posts? Sometimes beginner add a featured image and then add the same image inside the content part of the post editor. All you have to do is remove the image from the content area and only use featured image metabox to add featured image. For more on this topic, see our article onhow to fix featured image appearing twice in WordPress. 2. What is the difference between the cover image and featured image? Cover images are used in the content area of your posts or pages. They are normally used to separate different sections of a lengthy page or post. Featured image is the representative image of an article. It does appear before or alongside the content but not inside the actual article. For more on this topic, see our guide on thedifference between cover image and featured image in WordPress. 3. How to display featured images next to recent blog posts? The WordPress block editor comes with a ‘Latest Posts’ block which allows you to display recent posts with post thumbnails. You can also display recent posts with thumbnails in sidebar widgets usingRecent Posts Widget Extendedplugin. For more details, see our article onhow to display recent posts in WordPress. 4. How to remind authors to add featured image in WordPress? Featured images are prominently displayed on your homepage, blog page, and other archive pages. If you or another author on your blog forgot to set one and published the post then it will appear without a featured image. This will look bad and inconsistent, which is not good for user experience. You can install and activate theRequire Featured Imageplugin, which will show a notification when anyone tries to publish a post without featured image. For more details, see our article onhow to require featured images in WordPress. We hope that this article helped you learn how to add featured images or post thumbnails in WordPress. You may also want to check out ourbeginner’s guide to image SEOwhich shows how to optimize your WordPress images for search engines. If you liked this article, then please subscribe to ourYouTube Channelfor WordPress video tutorials. You can also find us onTwitterandFacebook

Please be aware that our material is sponsored by our readers. This means that if you click on one of our affiliate links, we may receive a fee. See how WPBeginner is supported, why it is important, and how you can help us by donating. The Editorial Staff at WPBeginner is a group of WordPress specialists, lead by Syed Balkhi, who provides guidance and support. Over 1.3 million readers around the world put their trust in us.

How to Add Featured Images In WordPress

Every theme in WordPress makes use of a popular function known as “Post Thumbnails” or “Featured Picture,” which allows you to designate a single image from your WordPress media library to a certain post or page in your website. Even while some people refer to them as post thumbnails, others refer to them as featured photos, all of these terms are referring to the same thing. For those of you who are new to WordPress and are experiencing difficulty getting pictures to appear on your blog or website, have a look at our guide below, which will teach you how to correctly describe these images.

Step 1: Edit the post or page you want to add an image to

The first step, of course, is to log into WordPress and choose the post or page to which you wish to add an image by clicking on the Edit button.

Step 2: Click on “Set Featured Image”

Following that, you’ll want to click on the “Set Featured Image” link, which can be found on the left-hand side of your post editor. The “Screen Options” tab in the upper right corner of the screen may not be seen if this option is not available. If you are still unable to locate the choice, it is most likely because the theme you are using does not truly allow the Featured Image/Post Thumbnail feature on your website.

Step 3: Choose an Image from Your Media Library

Then, on the left-hand side of your post editor, you’ll want to click on the “Set Featured Image” link. The “Screen Options” tab in the upper right corner of the screen may not be seen if this option is not selected. If you are still unable to locate the choice, it is most likely because the theme you are using does not truly support the Featured Image/Post Thumbnail feature.

Step 4: Click on “Set featured image” blue button

Simply click on the blue “Set featured picture” button in the popup window once you have selected your image, and it will be added as a featured image to the post or page. It is only necessary to click on update or save as draft to ensure that the picture is accurately allocated as the featured image; otherwise, if you depart the site or refresh it, the image may not have been appropriately assigned.

Next Steps…Resizing Your Featured Images

Knowing how to properly configure your featured pictures, the next step is to understand how image scaling is handled in WordPress, so that your featured photos are shown correctly on your live site. It’s important to note that every theme is a little bit different, and while most themes use the native WordPress resizing function, which only crops images based on theme defined sizes on upload (each time you upload an image, it is resized to every custom defined image size in your theme), other themes, such as our premium ” Total Theme “, have their own built-in resizing functions that are more optimized and allow for greater user control over the image size.

For developers, you may want to look into the coreadd image sizefunction to discover how to specify custom image sizes in your theme, and for end users, you should look into the documentation for your theme or contact the theme developer to find out how to manage the featured image sizes in your theme.

In either case, if your theme is using the native WordPress sizing function, go to PluginsAdd New and search for and install a popular and highly rated ” Regenerate Thumbnails ” plugin, then visit it’s settings and run the script so that images on your site can pass through the correct functions and get resized either according to your custom settings or the theme’s preset sizes.

Sign up for the newsletter now. Get the latest news, tutorials, guides, and tipsdeals sent directly to your email. –


This function sets the post thumbnail (featured picture) for the specified post in the database.


$post(int |WP Post) is a function that posts to the WordPress blog (Required) The ID of the post or the post object to which the thumbnail should be connected. $thumbnail id(int)(Required) Attaching a thumbnail is necessary. a b c d


Function set post thumbnail($post, $thumbnail id) in wp-includes/post.php File:wp-includes/post.php $post = get post($post); $thumbnail id = absint($thumbnail id); $thumbnail id = absint($thumbnail id); If ($post$thumbnail idget post($thumbnail id)) is true, the following code is executed: If (wp get attachment image($thumbnail id, ‘thumbnail’)) is true, the following code is executed: Then, if $post- ID, ‘_thumbnail id’, and $thumbnail id are returned, the function returns false.

Otherwise, the function returns delete post meta($post- ID, ‘_thumbnail id’, $thumbnail id); Obtain the whole source code Full source code should be collapsed.


Features pictures (also known as Post Thumbnails) are images that are used to represent a certain Post, Page or Custom Post Type on a WordPress website. Once your Theme has been created, you have the option of displaying the featured picture in a variety of places, such as on your archive page, in your header, or above a blog post, for example.

Enabling Support for Featured ImageEnabling Support for Featured Image

The Featured Image function must be declared as supported by a theme before the Featured Image interface will display on the Edit screen of the theme. In your theme’s functions.php file, include the following code to indicate that support is being provided: add theme support(‘post-thumbnails’); See add theme support for information on how to enable Featured Image exclusively for particular post types () a b c d

Setting a Featured ImageSetting a Featured Image

When you enable support for Featured Images, the Featured Image meta box will appear on the Edit screens for the content items that have been assigned to it. A user who is unable to view it may do so by changing the screen choices on his or her computer. This meta box is displayed by default in the sidebar of all edit post and edit page screens, as shown in the screenshot below. a b c d

Function ReferenceFunction Reference

Add image size() is a function that registers a new image size. setting the size of the post thumbnail picture with the set post thumbnail size() function. has post thumbnail()– Determines whether a post has a thumbnail picture attached. the post thumbnail() — This function displays the post thumbnail. get the post thumbnail() – This function retrieves the post thumbnail. get post thumbnail id() – Returns the ID of the Post Thumbnail. a b c d

Image SizesImage Sizes

In WordPress, the default image sizes are “Thumbnail,” “Medium,” “Large,” and “Full Size.” Other image sizes are available as options (the original size of the image you uploaded). These picture sizes may be customized in the WordPress Administration Media panel, which can be found under the heading SettingsMedia. You may also create your own picture size by supplying an array containing the dimensions of your image, like follows: the post thumbnail(); / Without a parameter -; Thumbnail the post thumbnail(‘thumbnail’); / Thumbnail the post thumbnail(‘thumbnail’); (default 150px x 150px max) medium resolution is represented by the function the post thumbnail(‘medium’); (default 300px x 300px max) the post thumbnail(‘medium large’); / Thumbnail with a medium-large size (default 768px x no height limit max) Large resolution thumbnails are provided by the post thumbnail(‘large’); (default 1024px x 1024px max) the post thumbnail(‘full’); / Original picture resolution is used in this function (unmodified) array(100, 100); / Other resolutions for the post-thumbnail image (height, width) a b c d

Add Custom Featured Image SizesAdd Custom Featured Image Sizes

Instead of specifying image sizes one by one in your theme’s functions file using the post thumbnail(array(,));you may define custom featured image sizes in your theme’s functions file, which can then be used from your theme’s template files. add image size(‘category-thumb’, 300, 9999); / 300 pixels wide for the category thumbnail (and unlimited height) Example of how to customize the size of your theme’s featured image using the functions.php file is shown below. if (function exists(‘add theme support’)) the condition is met / default Featured Image dimensions (cropped)/ additional image sizes If you do not want any more picture sizes, you may remove the following line.

Set the Featured Image Output SizeSet the Featured Image Output Size

In the current theme’s functions.php file, this variable will be utilized. Set the default Featured Picture size using set post thumbnail size() by scaling the image appropriately (that is, without distorting it) and passing it to the function: The following code sets the post thumbnail size (50, 50): / 50 pixels width by 50 pixels height in resize mode. Crop the picture (either from the sides, or from the top and bottom) to the following dimensions to make it the default Featured Image size: set post thumbnail size(50, 50, true); / Thumbnail size is 50 pixels wide by 50 pixels height, with crop mode enabled.

Styling Featured ImagesStyling Featured Images

Images that are shown on the homepage are given the class “wp-post-image.” They are also assigned a class based on the size of the thumbnail that is currently shown. The following CSS selectors may be used to style the output: img.wp-post-image img.attachment-thumbnail img.attachment-medium img.attachment-large img.attachment-full Use the attribute argument inthe post thumbnail to offer Featured Images their own classes in addition to the default classes (). Display the Featured Image with the class “alignleft” in the following ways: the post thumbnail(‘thumbnail’, array(‘class’ =’alignleft’); the post thumbnail(‘thumbnail’, array(‘class’ =’alignleft’); a b c d


/ Determine whether or not the post or page has a Featured Image associated with it. if (has post thumbnail()) { the post thumbnail(); } Note:If you want to return the Featured Image for use in your PHP code rather than showing it, use the get the post thumbnail function instead of displaying it () • if (has post thumbnail()) $featured image = get the post thumbnail(); / check for a Featured Image and then assign it to a PHP variable for further use if (has post thumbnail()); a b c d

You might be interested:  How To Make A Blog On Wordpress?

Linking to Post Permalink or Larger ImageLinking to Post Permalink or Larger Image

Avoid using these two examples in the same Theme at the same time! Using the following code in your Theme’s template files, you may link Post Thumbnails to their corresponding Post Permalink in a specified loop: ?php the permalink();? “alt=”?php the title attribute();?” “?php the post thumbnail();? “?php the post thumbnail();?php endif;?php endif;?php endif;?php endif;?php Example 2: To link all Post Thumbnails on your website to the Post Permalink, include the following code in the current Theme’s functions.phpfile:add filter(‘post thumbnail html’,’my post image html’, 10, 3);function my post image html($html, $post id, $post image id);function my post image html($html, $post id, $ $html =’a href=”‘.

  • get permalink($post id).
  • $html =’a href=”‘.
  • ‘”‘.
  • get permalink($post id).
  • ‘ /a ‘; $html.’/a ‘; $html.’/a ‘; $html.’/a ‘; return $html; This example refers to the “big” Post Thumbnail picture size and must be used within The Loop in order to function properly.

if (has post thumbnail()) $large image url = wp get attachment image src(get post thumbnail id(), ‘large’); echo’a href=”‘. $large image url91;093;. ‘”‘; the post thumbnail(‘thumbnail’); echo’/a ‘; if ( a b c d

Source FileSource File

  • This document contains all you need to know about the post image functionality in WordPress 2.9. The Ultimate Guide to the post thumbnail in WordPress 2.9
  • New in WordPress 2.9: Post Thumbnail Images
  • The Ultimate Guide to the post thumbnail in WordPress 2.9

WordPress Featured Image

As a website owner, you are probably aware of how important photos are to the success of your WordPress website. Featured photos, also known as Post thumbnails, serve the same purpose on any WordPress blog and are thus quite valuable. They not only help to boost the SEO of your website, but they also make it more visually appealing. To clarify, what precisely are featured photos, and how do you include them in a WordPress article, read on. This guide to featured photographs provides comprehensive solutions to these questions.


  • What is a featured image, and how does it work? How to set featured photos on your website
  • Changing the size of the featured image
  • Enhancing your theme’s support for featured images
  • Where can I get photographs to utilize as a featured image on my website? Conclusion

What is a Featured Image?

Simply said, featured pictures are images that are used to represent a post or a page on a website. Now, the location of a featured picture within a WordPress theme is totally dependent on the theme that is now active. It may be shown as a post thumbnail picture on your blog’s home page. It might also be put at the top of individual posts, making it the first thing a visitor sees when they enter the website.

How To Set Featured Images In WordPress

Adding a featured picture to your WordPress blog is a simple process. After entering into your WordPress administration panel, you will be able to view your WordPress dashboard. Navigate to ‘Posts,’ choose the post to which you wish to add the featured picture, and then click ‘Edit’ to bring up the post editing interface. The ‘Featured picture’ tab may be found at the bottom-right corner of the page, just above the fold. To change the featured image, click on the ‘Change featured image’ link.

  • You have the option of selecting a picture from your blog’s photos in the WordPress media library or uploading an image from your computer’s files.
  • The featured picture you provided will be included in the post.
  • Your featured image has been selected.
  • Your theme developer will select where the image will be displayed from here on out.
  • However, if this is not the case on your website, you will most likely find the featured picture on the homepage of your website, your blog page, or any other page that displays a list of your articles.

Setting Featured Image Size

Now that you know how to establish a featured picture in WordPress, how do you go about setting or changing the image’s size? It’s really not that tough. The majority of the time, when a picture has been uploaded, it is automatically scaled and made accessible as big, medium, or thumbnail-sized images. Of course, there’s also full size, which is the image in its original resolution. It is possible that these picture size will not be sufficient for your needs. It is possible to make some adjustments to your picture settings in order to generate extra image sizes in this situation.

You will notice the typical picture sizes that have been established by WordPress in this section.

After that, scroll down to the bottom of the page and click on ‘Save Changes’.

That is all that is required of you. At this point, you can proceed to upload your featured image. Please keep in mind that the new image sizes will only apply to images that have been posted after the change. It would be necessary to resize prior photos.

How to Add Featured Image Support to Your Theme

While the vast majority of WordPress themes have support for featured photos, there are a few instances where a theme does not. If this is the case for you, don’t get too worked up. You can simply incorporate the functionality into your theme’s function.php file by inserting a few lines of code in the file. The codes also control the appearance of a featured picture. Before making any changes to your WordPress site, make a backup of it first. To begin, navigate to AppearanceTheme Editorand choose the function.php file from your theme’s root directory.

” width=”1030″ height=”578″ data-lazy-src=” width=”1030″ height=”578″ data-lazy-src=” Add the following line of code to your theme: add theme support(‘post-thumbnails’); This immediately enables featured image support for posts and pages on your website or application.

For your WordPress theme to display featured photos, you will need to change your theme and include this line of code at the position where you want the featured image to appear.?php the post thumbnail();?

Note: If you want to display this image inside your post content, then you have to edit a file usually called single.php. However, it may differ based on your installed theme. When you locate this file, ensure you add it within your post loop, which looks like the code snippet below.

?php While if (have posts()) is true, while (have posts()) is false, the post() is true; / / Post the content here / / end while / end if? There will be many more lines of code in the theme file for showing post title, post category, author name, and other similar elements within the loop, as well as for displaying other items outside of the loop. Add the code for thumbnail display right above these lines, because the featured picture is normally displayed first, followed by the rest of the content.

You should now be able to see your featured picture on all of your blog entries.

Add the following line of code to the function.php file to complete the transformation.

Alternatively, you can provide a bigger value combination, such as “900, 600,” if you desire a greater picture size.

Where to Get Images to use as Featured Images

In order to get the greatest results with featured photos, you must have a method of obtaining photographs that are relevant to each article. However, you should avoid just copying photographs off the internet in order to prevent copyright difficulties. You must utilize photographs that are not protected by intellectual property rights. Images of this nature may be found on websites such as:

  • Pixabay
  • Pexels
  • Unsplash
  • Negative space
  • Skitterphoto
  • Pixabay

These websites offer high-resolution photos to WordPress users that are logged in. These photos have the potential to bring your articles to life right out of the box. To make them even more fascinating, though, you may employ design tools to enhance their appearance. For example, you may include the title of the post in the image, like we do here at


WordPress Because they serve to make your content shine, featured photos are utilized to increase the value of your material. They also aid in the organization and presentation of your articles on pages that have a list of them, such as your blog or website’s homepage. Additionally, when featured photos are used effectively, they may aid in the development of brand recognition for your organization. How to establish featured pictures for blog articles has been demonstrated in this article.

If your WordPress theme does not already support it, we have provided instructions on how to add support for it. Please see ourWP College for further information on how to enhance your WordPress website. Continue reading these useful articles:

How to add a featured image in a post or page in WordPress?

The image that appears immediately above this text is a featured image. On this case, you may be asking how to include a featured picture in your WordPress site. Continue reading if this is the case superstar! This is going to be as simple as a piece of cake for you. This feature allows you to place a picture as the primary visual element of your page or post by using the Featured Image function. Sign in to your WordPress admin page first, then navigate to the page or post edit screen, where you can select Set Featured Image from the right-hand sidebar of your edit screen to make it the featured image.

  1. Bonus tip: If you are using the most recent version of the PixelRockstar Photo Plugin, you may also directly upload photographs to PixelRockstar by selecting the Featured image option from the PixelRockstar menu.
  2. From there, you will see the Add Featured Image button, which is part of the edit screen.
  3. Posts tagged with “posts” Create a new post » To set the featured image, click the Set Featured Image button.
  4. It should display within seconds after clicking on it.

What the heck is a Featured image?

The featured images are a part of the theme. The majority of themes, such as Genesis, accept featured photos since it gives each page or post a distinct visual identification that is not present in other themes. It’s a highly popular feature for all kinds of themes, including blogging, news, restaurant, and photography themes, to name a few examples. Depending on the topic, a picture might take on a variety of shapes and sizes. The parameters that determine how your featured picture will display are specified by the theme developer who created your theme.

Editing a theme necessitates knowledge of HTML and CSS.

Featured image vs Post Thumbnail

Post thumbnails were first introduced in WordPress 2.9, but the name was changed to featured images in the following version of the software, WordPress 3.0, and has remained that way ever since. As a result, whenever you see the term “post thumbnail” on the internet, it is referring to the featured image. Check out this excellent guide on WordPress image sizes for more information. Now you have learned all the important basics about how to add a featured image to your WordPress postspages.

So go ahead and try them out. Using the PixelRockstar plugin you can search (give it a try here) in a database of around 4 million images and add images to your posts and pages in seconds, saving your time for creating awesome content for your audience.

The Best WordPress Featured Image Size & Post Thumbnail Tips

Even though it appears as though there are a million and one things to consider while creating a blog post, it is true that there are; you must keep everything in mind, from word count to keyword density to blog distribution. Since blogging is attempting to strike a balance between all of these considerations while still producing good content, it’s no wonder that WordPress featured photos are frequently ignored. This is unfortunate since using high-quality, properly-sized WordPress featured images and consistently-styled post thumbnails for your blog provides a plethora of benefits, beginning with enhanced brand exposure and visibility for your company (but definitely not stopping there).

As well as how to design them, you will learn the best practices to follow when selecting and developing a compelling post thumbnail!

What is a WordPress Featured Image?

WordPress featured photos will be the images that are used as the thumbnail for the post when it is published. You will be able to use your featured picture as a visual representation of the post to which it has been allocated. It will also be used as the default picture when your content are posted from your site to your social media networks, which will be utilized automatically. This will be the visual depiction of your blog article, which will be the featured picture on your WordPress site.

A featured image will be automatically shown at the top of your text within each blog post if you are using a theme that supports it (such as the Kindred theme, seen above).

Each post’s featured image must be manually selected and uploaded.

The Best WordPress Featured Image Size

The most suitable featured picture size for WordPress is 1200 x 628 pixels, and these proportions are often sufficient for most WordPress blog designs. There may be variations in the size of featured photos between various blogs (and, more precisely, across different themes). You may change and adjust your image settings in WordPress so that different picture kinds are shown at the appropriate size. Going to Settings and selecting Media will allow you to adjust various picture characteristics for your site.

If you use the post thumbnail size option, you may specify particular image width and height specifications for all featured photos in WordPress.

It is for this reason that you should scale your featured photos in accordance to the size of your article thumbnails to avoid unusual cropping difficulties.

In order to avoid uncomfortable cropping issues, make sure that all of your featured photos are the same size as the post thumbnail size requirements.

How to Set a Featured Image in WordPress

WordPress’ featured image setting is accomplished by scrolling down the page of a single post until you reach “Featured Image” on the right-side tool bar, which also contains theCategoriesandTags sections. Select “Set Featured Image” from the drop-down menu. Choose any image from your collection, or upload a new one if necessary, before starting the process. You may provide Alt Text and titles for your photographs in the same way that you would for any other blog images in the article. Add featured photos to your media library by uploading them.

You have the ability to update, remove, or amend it at any moment.

Why You Need a WP Featured Image in Every Blog Post

It’s common for writers to miss the featured photos on their WordPress blogs, but that doesn’t mean you should ignore them. An extensive variety of advantages may be gained through the use of featured photos that are of excellent quality and consistently designed. As a result, your blog’s appearance will almost immediately improve, becoming more professional in appearance as a result of the constant, uniformed aspect that featured photographs may provide. Here is an example of a featured image in WordPress.

  1. Branded blog featured photos may go a long way toward assisting new visitors in discovering and learning more about your company.
  2. Users will begin to notice the distinct appearance and recognize it as yours; this will result in more clicks from users who are currently following you, as well as more clicks from new users who are not yet following you.
  3. On tiffanyandnicoleforever’s blog, you can see several examples of WordPress featured picture ideas.
  4. If you include Alt Text with your featured image, you can benefit from an additional SEO boost.
You might be interested:  How To Change Footer In Wordpress? (Solution)

Optimizing WP Post Thumbnails for Social Sharing

Use of the Yoast SEO plugin (even the free version) allows you to upload specific post thumbnail photos for different social media networks in WordPress if you’re using the plugin. For example, the thumbnail size on Facebook is 1200px by 628px in size. You may submit a secondary thumbnail that is the same size as the main thumbnail using the Yoast plugin. This assures that there is no unintended cropping of the image. The same may be said about Twitter. The Yoast SEO plugin allows you to create additional post thumbnail photos for social media platforms such as Facebook and Twitter.

In the event that you’re utilizing Snappa to produce your featured photos, you may take use of our image resize tool to quickly create several post thumbnail sizes for your article.

What Types of Blog Thumbnail Images Should I Use?

This is very dependent on the kind of your blog. A large number of different sorts of blogs will get the best results when high-quality images are used. A variety of blogs such as food and recipe blogs, wedding blogs, fashion blogs, and photography blogs are examples of sites that might profit from the use of relevant pictures as blog featured images. The idea here is to select photographs that are pertinent to the topic. The featured image on food blogs should be the real dish that is being taught to users in the post, rather than a stock image.

  1. It is critical that you select not just high-quality pictures for your WordPress featured images, but also ones that are incredibly relevant to your site’s content.
  2. Many organizations, particularly B2B enterprises, benefit from custom-made graphic pictures, such as the ones we develop and use on Snappa’s blog, which are available for purchase.
  3. You may simply include your logo or any other piece of your company’s identity in each of these photographs without it being forced or out of place, as seen in the example below.
  4. Regardless of the sort of photos you use, many businesses find it beneficial to include their identity into their WordPress featured images.

WP Featured Image Best Practices (and Why They Matter)

Consider the following tactics and best practices when deciding what sort of WP featured photos you want to utilize on your WordPress site in order to get the outcomes you desire. The following are some best practices for WordPress featured photos:

Use high-resolution images capable of scaling

Given that your featured picture will be used to represent your article not just on your blog but also across other social media platforms, you should select an image that will look excellent at a bigger size than your WordPress post’s thumbnail. It is important that when visitors click on your image on social media sites such as Twitter and Pinterest, the image appears equally as excellent at a little bigger size. Users will see a larger version of your image when they click on it on social media sites such as Twitter and Pinterest, thus high resolution photographs that can be scaled are required.

Choose simple, clean images

Use pictures that are straightforward and clean-looking when producing graphics or selecting high-resolution photographs; this structure and simplicity makes the images simpler to digest, allowing them to capture consumers’ attention more quickly. You want to pique a user’s interest right away and persuade them to click on your post, so the faster they can figure out what the post is about, the better.Your WordPress featured image should be visually appealing, but it should also be simple enough that users can figure out what they’re looking at in a matter of seconds.

Keep your WordPress photos consistent

The featured photos on your WordPress site should, in most cases, be of the same design. If you add anything to your images—which I normally advocate doing—make sure that the modifications are consistent with the rest of your blog’s design. This can include your logo, the typeface you use for writing, and the information you offer on each post.

Always use relevant images

When was the last time you heard the phrase “we read with our eyes first?” Aside from that, we are more likely to look at photographs in a post before we actually read the content; our brain absorbs visuals 60,000 times quicker than it does text. Your choice of photographs, particularly on social media, has the potential to draw viewers in or force them to skim over your description altogether. It is important to select photos that are related to your topics and appropriately depict them else you may observe an increase in bounce rates.

Make sure you have legal rights to the image

One issue that frequently arises in the blogging community—even among competent professionals—is the unintentional usage of photos that are genuinely protected by intellectual property rights. Not only will this make you appear unprofessional, but it is also unlawful, and you may face legal and financial ramifications as a result. Because all photos posted on the internet are immediately covered by copyright protection, you must exercise caution while using them. All photographs uploaded on the internet are immediately protected by copyright laws; make certain that you have the legal right to use the images you select before sharing them.

Ideally, you’ll want photos that are published under the Creative Commons CC0 license, which is what all of the photographs on Snappa are licensed under.

Final Thoughts

The greatest featured photos for WordPress will make your site appear more professional and well-organized. They will aid in the development of brand awareness and recognition across a variety of distribution channels (including social media), thus overlooking them might be detrimental to your company’s success. Snappa and our set of best practices make it simple to start developing stylish, branded, and appropriately-sized featured photos for WordPress websites. These photographs can assist you in increasing your readership and establishing your brand.

However you choose to display your photos, bear in mind that it’s critical to select the greatest WordPress featured image size possible and to maintain consistency across your website.

What proportions do you use for your WordPress featured images? What kinds of featured photographs do you post on your site and where do you find them? Which site has the most interesting sequence of featured photographs, in your opinion? Please share your thoughts in the comments section below!

WordPress Featured Image: What It Is, Plus How to Use It Right

The content on Themeisle is completely free. When you make a purchase after clicking on one of our referral links, we receive a commission. Read on to find out more When someone visits your blog post list page, they may see a picture that shows at the top of each of your individual blog entries. This is your WordPress featured image. Featured photos are hidden away in the sidebar of the WordPress blog post editor, despite the fact that they are an important feature. You may designate a primary picture for each post, which can be used as a header image as well as a representation of the post on the archive and search pages.

In this piece, we’ll go into further depth on what featured photos are and show you some samples of what they look like.

Let’s get down to business!

What featured images are (and why they matter)

The WordPress Block Editor allows you to customize your blog articles by include any text and media that you like. Each new paragraph or piece of media is placed into its own block, and the content of the post as a whole is formed by the combination of all of the blocks. However, under the sidebar to the right of the editor, you will find a number of settings that apply to the entire page. Some of these options, such as categories and tags, have already been explored in previous articles. But there’s one element that’s especially easy for beginners to overlook: the Featured Image section.

  • You may use this section to provide a single image that reflects the whole post.
  • You may also provide a caption, alternative text, and a description, just as you would with any other image.
  • Generally speaking, this picture does not show inside the body of the article itself, yet the way a featured image is displayed in WordPress is dependent on the theme that is currently active.
  • Furthermore, this isn’t the only instance in which highlighted photographs are displayed.

Furthermore, because these photos will have a significant impact on the visual style (and potentially the performance) of your site, it is worthwhile to devote some time to selecting and arranging them with care.

Three tips for using featured images effectively on your WordPress site

You are free to use whatever you want as the featured picture for your WordPress posts. Nonetheless, because of their prominence, it is recommended that you utilize them with caution. Let’s take a look at a couple of the most effective strategies for making the most of each WordPress featured picture you have available.

1. Use images licensed by Creative Commons

A great photographer or illustrator on your team may develop unique featured photos for your blog, which you can then use as part of your marketing campaign. This is the ideal situation, although it is not always possible to attain. Not only will you want someone with the necessary knowledge and time, but you will also be required to develop a large number of unique photographs, particularly if you upload on a frequent basis. Using third-party photos is a better choice for the majority of blogs.

You may either pay for photographs from a stock website or utilize media that has been licensed under the Creative Commons license.

  • Free Creative Commons photos can be used on a monetized blog, and depending on the license terms, you may even be permitted to use them on a non-profit website. Fortunately, there are several possibilities available, and there are entire websites dedicated to collecting and disseminating these photographs. Pixabay, Pixnio, and Flickrrare are just a few of the many sites that provide images
  • You should be allowed to make changes to the photos, once again dependent on the licensing. This implies that you may start with an existing photo and then customize it with your own branding and adjustments.

Take a look at our own featured photographs to see how the last principle is put into practice: We start with a simple image and then add numerous extra features to make it more interesting. This makes it easy to produce each WordPress featured picture, while yet ensuring that the final product is distinct. Canva is the program that we used to generate this picture template. Here’s an example of how to use Canva to create blog pictures. Don’t forget to provide proper credit to the original creator if you use a Creative Commons featured picture.

The task may be done with a simple sentence at the conclusion of the article, such as “Featured image:John Smith.” Photos licensed under Creative Commons aren’t the only free images available.

2. Keep the style of your featured images consistent

Because every article has its own WordPress featured picture (which may show in several areas throughout your site), these photos account for a significant fraction of the total amount of media on your site. As a result, it’s important to analyze how they contribute to the representation of not only your particular content, but also your entire website. While it is possible to just select whichever image appears to be the most suited for each post, it is preferable to have a similar style for all of your featured photographs.

  • You may also use certain colors or focus on specific themes if you like.
  • Alternatively, you might assign one team member the responsibility of locating and modifying a featured picture for each new article published on WordPress.
  • To save time, you may build a template in Canva that you can use for each article that you write.
  • This will be fully up to you, however we recommend that you choose measurements with a wider width than a higher height, if possible (as this tends to look better, especially on mobile devices).

It’s also a good idea to avoid making your featured photos too huge, as this might have a detrimental impact on the performance of your website. This takes us to our final piece of advice.

3. Optimize each WordPress featured image

Because each article has its own WordPress featured picture (which may show in several areas across your site), these photos account for a significant fraction of the total amount of media on your site. So it’s important to evaluate how they contribute to the representation of not only your particular content but also your entire site. Instead than choosing whichever image feels most suited for each post, it is preferable to have a similar style throughout all of your featured photographs. You might, for example, use realistic photographs such as these.

  • Colors can be used, as well as an emphasis on certain issues or themes.
  • Another option is to delegate responsibility for sourcing and modifying a featured picture for each new post to a member of your team.
  • You may save time by creating a template in Canva that you can reuse for each article.
  • This will be fully up to you, however we recommend that you choose measurements with a wider width than a higher height if possible (as this tends to look better, especially on mobile devices).
  • Our final suggestion is as follows:


Featured photos are an essential WordPress feature that any site owner would be wise to become acquainted with. Including a featured picture in each post or article on your WordPress site assists you in visually representing the material for your viewers. It may even be a critical component of your overall branding strategy. WordPress makes it simple to include featured photos in posts and pages. You’ll want to keep the following suggestions in mind, though:

  1. Make use of Creative Commons-licensed photographs or other freely available stock photography. Maintain consistency in the design of your featured photos
  2. Optimize each featured picture on your WordPress site with a program such as Optimole.

Is there anything you’d want to know about the best method to include featured photos into your blog or website? Fill in the blanks in the comments box below!

Free guide

Guide is available for free download. Images courtesy of Pxhere and Wikimedia Commons.

Leave a Comment

Your email address will not be published. Required fields are marked *