The featured images are a renowned WordPress feature, known as publication thumbnails, which is covered in most themes.
It’s the main picture for your articles, plus it’s on your home and social media pages alongside the logo. An integrated image storage solution is used with any basic theme of WordPress.
In this article, we teach you how to add veteran pictures or publish miniatures easily on your WordPress blog.
Guide to the use of WordPress vedette images
The pictures are a WordPress theme feature. Almost every WordPress theme is supplied with an integrated image storage device that shows it wonderfully in different areas of the WordPress website.
We find visual items more attractive than text in our capacity as humans. The pictures in the foreground tend to make the pages of your blog more attractive.
They also enhance the number of pages visited and the user engagement. This images can also be found on search engines and blogs with social media to use search results and news feeds on social media.
Most featured images are used on blog posts, but also for sites and personalized articles you can identify feature images.
Please note that the pictures displayed are not identical to the picture cover. See the difference between the picture cover and the WordPress file.
That said, let’s see how to add WordPress star pictures quickly.
Add the WordPress screenshot or publishing thumbnail.
Only modify or make a new blog post to add an outstanding image to a WordPress story.
The featured image tab is found in the right column in the text editor.
Click on the “Set the Functional Picture” section that shows the download media window of WordPress.
You can import a picture from your device from that computer or use your media library’s current picture. Just a click on the Start picture Set button once you have selected the image.
Now, in the right column, WordPress will show a summary of the chosen picture.However, according to their WordPress style, the actual picture will be different.
Now you can save, upload and preview the message and see if the picture appears live on your website.
According to your theme developer’s settings, your selected image will automatically appear with your publications.
How will the illustrated pictures be easily sought and used?
Next major question most newcomers ask, where will pictures be found to be used as featured images?
The image quest of Google can’t just be used and all photographs can be used online. This photos are copyright-protected and their use will create legal trouble without proper permission.
Fortunately, you can find free photos for your blog posts from many available tools.
Our favorites include:
- Shutterstock – They have some free pictures but the real value comes from their paying plans that give you access to plenty of high-quality photographs, sketches, drawings, etc. That’s what we use for the EduCode website.
- Unsplash – A popular online resource publishing high-resolution photographs that you can use on your website and other projects.
- Negative space – A well-organized array of rights-free photographs.
- New old stock – A selection of old public domain photographs.
Note: All sources have high resolution files, which means that they are bulky in file size and size. You would need to optimize the pictures for the web before using them as featured shots.
The pictures shown are controlled by your WordPress theme. In order to modify the way your theme displays featured images, you would need basic skills in CSS or WordPress coding.
If you’re comfortable with coding, keep reading for more tips.
Theme developers’ guide on featured pictures and publication thumbnails in WordPress.
The illustration displayed is a standard attribute with almost every WordPress theme endorsed. In rare cases you may encounter a subject who does not endorse featured photos or like how feature images are managed.
In this case, you can add or change the look of the pictures featured to your subject.
You can update WordPress theme files yourself if you are relaxed and you know a little about custom CSS.
You won’t see a choice for adding a featuring image to the container editor if your theme does not accept featured pictures.
You must apply this line of code to the functions.php theme file in order to add support for featured images in a WordPress theme:
add_theme_support( 'post-thumbnails' );
This code supports featured photographs for posts and blogs. The articles or page block editor can now be accessed, and you can see the star image option activated.
However, you will not immediately appear in your WordPress theme when setting a selected picture. You must adjust the models to show the featured images in this style, adding this line to where the featured image will be displayed:
<?php the_post_thumbnail(); ?>
Depending on the style, the files in which you apply the above code. You want the code to be part of the publication loop.
With regard to: See the hacking sheet on WordPress themes’ hierarchy for a clearer understanding of how themes function.
The above code is the fundamental function that must be added to help the feature pictures and show the photos seen in your subject. You must apply this code line to your functions.php file to set the image size of the photos you import.
set_post_thumbnail_size( 50, 50);
The parameters of the post thumbnail are: width, height.
You may also use the Post thumbnail function in additional image dimensions (). Examples are:
// Image size for single posts add_image_size( 'single-post-thumbnail', 590, 180 );
In this case, we have applied to a single post 590 pixel and 180 pixel height a new picture size called thumbnails.
We’ve also need to include this icon in the relevant theme file to include this image size in our theme.
For more details, see our tutorial to add more image sizes in WordPress.
You must regenerate thumbnails and icon sizes for earlier releases if you previously downloaded star imagery but only seen in other sizes.
An example of the image feature chosen for a given image size as shown below.
<?php the_post_thumbnail( 'single-post-thumbnail' ); ?>
This is the complete function’s broken down version. More items can also be done with the above images.
WordPress FAQ for featured images.
As a beginner, by using the feature images on your website, you can find questions or issues. Here are some of the questions often posed about the images presented.
1. Why is the photo on my posts seen twice?
Many beginners add a star graphic and then add the same picture in the publisher’s material portion.
What you have to do is delete the icon from the region of content and then use the functional image metabox to include the featured image. Check out our article on how to correct the selected image twice in WordPress for more details on this subject.
2. What is the difference between the cover image and the chosen one?
Cover pictures are listed in the articles or websites’ material section. They are usually used to distinguish different parts from a long page or text.
A sample photo of a post is the featured photograph. It exists before or near the stuff, but not inside the stuff itself.
See our guide on the difference between the cover image and the picture chosen in WordPress for more detail on this subject.
3. How to use images from the latest blog posts?
The “Last Posts,” which allow you to browse news articles with images, is included in the WordPress Block Editor.
Through using the latest plug for Widget extension publications, you can also view recent updates with thumbnails on lateral bar widgets. See our post on how recent posts are shown in WordPress for more information.
4. How can writers be reminded of adding a WordPress spotlight graphic?
The photographs found on your homepage, forum and other archive pages are clearly shown.
If you or another blog author forget about defining a blog and publishing the article, it will be shown without a starring image. This looks horrible and incoherent, not ideal for the user experience.
You should set up and allow the Requirement of an image featured in a plugin to alert whether someone wants to post a message without a featured image.
We hope you learn how to add stars or post thumbnails on WordPress in this blog. Please comment and thank you if you liked this article.