Close Menu
wpexpelorwpexpelor
  • WordPress Beginner tips
  • WordPress Security
  • about us
  • contact us
Facebook X (Twitter) Instagram Pinterest
Facebook X (Twitter) Instagram Pinterest
wpexpelorwpexpelor
  • WordPress Beginner tips
  • WordPress Security
  • about us
  • contact us
wpexpelorwpexpelor
Home»WordPress Beginner tips»How To Change Position Of Featured Image In WordPress
WordPress Beginner tips

How To Change Position Of Featured Image In WordPress

NinaBy NinaDecember 28, 2023Updated:December 29, 2023No Comments2 Mins Read
How To Change Position Of Featured Image In WordPress
How To Change Position Of Featured Image In WordPress
Share
Facebook Twitter LinkedIn Pinterest Email
Rate this post

How To Change Position of Featured Image in WordPress? You can change the arrangement of the Featured image in WordPress. If so, this article on wpexpelor is for you. When changing the featured image, the first solution that comes to mind is changing the theme!

Most WordPress themes have good features for changing the WordPress page layout, and you can customize them according to your needs.We recommend using themes that have graphic page builders, such as Visual Composer, Elementor, etc.

Using modern WordPress themes and page builders, you can customize the position of featured images. But if for any reason you cannot change the wordpress theme, stay with wpexpelor!

How to change position of featured image in wordpress in one minutes!

Note that before any changes you should produce a full site backup. To Change the position of the Featured image First, open the control panel of your host and then Go to the following path:

wp-content/themes

Change position of featured image in wordpress
Change position of featured image in wordpress

Then, find your WordPress theme folder. Look for the “single.php” file. (If you want to change the position of the featured images for the pages, look for the “page.php” file). Right-click and click Edit the file. Look for the following code :

<?php the_post_thumbnail(''); ?>

After finding the code above, we can change its position.

WordPress Change position of featured image in
WordPress Change position of featured image in

For example, as you can see, my featured image is placed after the article title.But I want it to be before the title.Therefore, I will cut the code from here and put it before the article’s title.

Note: Be careful; you can put your featured image anywhere you want with this code; you have to ensure it is not outside the whole content!

WordPress Change position of featured image with code
WordPress Change position of featured image with code

So, you must use the featured image inside the while loop.

Make the desired changes and save the file. Then, refresh your post page.As you can see, the featured image of my site has changed its position from under the title to the upper part of the title.

WordPress Change position of featured image result
WordPress Change position of featured image result

We solved our problem very simply and with a small change.

Attention: make any changes to the child version of your wordpress theme. By this, changes won’t be lost after updating the theme.

Good luck

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit VKontakte Telegram WhatsApp
Previous ArticleWordPress Add User Without Email
Next Article Error establishing a database connection WordPress localhost wamp

Related Posts

woocommerce user registration form without email

June 9, 2024

Edit Author Slug in WordPress

January 30, 2024

install 2 wordpress on same domain

January 23, 2024

Leave A Reply Cancel Reply

Trending
seo

SEO Services in texas

By NinaMay 30, 20250

Do You need to grow your business in Texas? Whether you own a company website or an online shop, you can count on us. We will get in touch as soon as possible. Please fill in the box with your name and email address.

WordPress Show Data From Database

December 12, 2023

woocommerce user registration form without email

June 9, 2024

WordPress database update required loop

April 6, 2024

Edit Author Slug in WordPress

January 30, 2024
Social
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
Facebook X (Twitter) Instagram Pinterest
©2025 WPexpelor. All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.