Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Puchar WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Jak poprawić obrazki wyróżniające pojawiające się dwa razy we wpisach WordPress?

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Czy chcesz dowiedzieć się, jak poprawić obrazki wyróżniające pojawiające się dwa razy we wpisach WordPress?

Tworzenie nowego wpisu w WordPress jest dość prostym procesem. Jednak niektórzy użytkownicy napotykają problem, w którym wyróżniający się obrazek pojawia się dwukrotnie.

W tym artykule pokażemy, jak poprawić obrazki wyróżniające pojawiające się dwukrotnie we wpisach WordPress.

Fixing featured image appearing twice issue in WordPress

Dlaczego wyróżniający się obrazek pojawia się dwa razy w WordPressie?

Wyróżniające się obrazki mogą pojawić się dwukrotnie w wpisach WordPress, gdy użytkownicy dodadzą obrazek do karty „Wyróżniający się obrazek” i prześlą ten sam obrazek do edytora wpisów.

Featured image inserted in post editor

Dwukrotne dodanie obrazka ma sens dla osób dopiero rozpoczynających pracę z WordPressem, ponieważ po dodaniu obrazka do karty „Obrazek wyróżniający” nie jest on wyświetlany w edytorze treści.

Dzieje się tak, ponieważ wyróżniający się obrazek jest funkcją motywu WordPress. Twój motyw decyduje o tym, jak i gdzie te wyróżniające się obrazki są wyświetlane na Twojej witrynie internetowej.

Zazwyczaj obrazki te pojawiają się obok nagłówka na stronie głównej Twojej witryny internetowej WordPress lub na stronie bloga oraz u góry wpisów na blogu.

Featured image appearing twice instead of just once

W zależności od twojego motywu, mogą one być używane jako miniaturki lub główne obrazki artykułów.

Uwaga : Obrazki wyróżniające to nie to samo, co obrazki okładek. Obrazki wyróżniające reprezentują treść i są wyświetlane na pojedynczych stronach, stronach archiwalnych blogów i stronach głównych witryn z wiadomościami, czasopismami i blogami.

Obrazek na okładkę to szeroki obrazek, który jest częścią całego artykułu i jest używany do nowej sekcji w twoim wpisie na blogu lub na stronie.

Aby uzyskać więcej informacji, zapoznaj się z naszym przewodnikiem dla początkujących na temat obrazka okładki vs. obrazka wyróżniającego w edytorze bloków WordPress.

Mając to na uwadze, pokażmy, jak poprawić obrazek wyróżniający pojawiający się dwukrotnie we wpisach WordPress.

Film instruktażowy

Subscribe to WPBeginner

Jeśli wolisz instrukcje pisemne, czytaj dalej.

Metoda 1. Poprawka obrazka wyróżniającego pojawiającego się dwa razy we wpisach WordPressa

Poprawka zduplikowanego wyróżniającego się obrazka we wpisach na blogu WordPress jest dość prosta. Wystarczy otworzyć wpis, w którym obrazek pojawia się dwukrotnie i usunąć go w edytorze wpisów.

Aby usunąć obrazek, wystarczy go kliknąć, a następnie kliknąć trzy kropki, aby wyświetlić menu rozwijane i wybrać opcję „Usuń obrazek”.

Remove Image block

Następnie nie zapomnij kliknąć przycisku „Aktualizuj”, aby zapisać twoje zmiany.

Teraz, gdy zobaczysz swój wpis, wyróżniający się obrazek będzie wyświetlany tylko raz. Jeśli tak nie jest i nadal widzisz wyróżniający się obrazek dwa razy, czytaj dalej.

Metoda 2. Poprawka dwukrotnego wyświetlania obrazka wyróżniającego w edytorze całej witryny

Jeśli korzystasz z nowoczesnego motywu blokowego z pełną funkcją edycji witryny, możesz wypróbować ten krok, aby poprawić dwukrotnie pojawiający się wyróżniający się obrazek.

Pełny edytor witryny umożliwia edycję twojego motywu WordPress za pomocą edytora bloków. Możesz edytować szablony i używać bloków do tworzenia/edycji twojego układu witryny.

Jeśli przypadkowo dodałeś dodatkowy blok z wyróżniającym się obrazkiem w szablonie, edytor witryny wyświetli wyróżniający się obrazek dwukrotnie.

Aby to poprawić, uruchom edytor witryny, przechodząc na stronę Wygląd ” Edytor.

Launch site editor

Z tego miejsca można przeglądać strony lub szablony, aby przejść do ekranu, na którym dwukrotnie pojawiają się wyróżniające się obrazki.

Następnie kliknij obszar, w którym wyświetlany jest dodatkowy wyróżniający się obrazek.

Duplicate featured image blocks in site editor

Kliknij, aby zaznaczyć blok z dodatkowym wyróżniającym się obrazkiem, a następnie kliknij menu z trzema kropkami na pasku narzędzi bloku.

Wybierz „Usuń” z menu, aby usunąć blok.

Remove featured image block

Po usuwaniu dodatkowego bloku nie zapomnij zapisać swoich zmian.

Przewodniki ekspertów dotyczące obrazków wyróżniających w WordPressie

Jeśli nadal doświadczasz dodatkowych problemów z twoimi obrazkami WordPress, możesz zapoznać się z naszymi innymi przewodnikami na temat wyróżniających się obrazków w WordPress:

Mamy nadzieję, że ten artykuł pomógł ci dowiedzieć się, jak poprawić obrazki wyróżniające pojawiające się dwukrotnie we wpisach WordPress. Zachęcamy również do zapoznania się z naszym przewodnikiem na temat tworzenia darmowego biznesowego adresu e-mail oraz wyborem najlepszych wtyczek WordPress dla witryn biznesowych.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

46 komentarzyZostaw odpowiedź

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. jamy jorden says

    DO having both images affect speed? actually have two images but my theme has a feature to hide feature image in a a post

    • WPBeginner Support says

      If the images are large then it may affect speed but if the images are optimized then it would have a minimal effect on your site’s speed.

      Administrator

  3. Nitesh Kumar says

    DO having both images affect speed? actually have two images but my theme has a feature to hide feature image in a a post

    • WPBeginner Support says

      It would depend on the image but as long as you have optimized your images for the web then it would not be a noticeable change in your site’s speed.

      Administrator

    • WPBeginner Support says

      While you can use the same image, that would likely confuse your users over time which is why sites attempt to have something different in each image.

      Administrator

  4. Brianna says

    Hi,
    When going to my post I don’t have the option of „set featured image” on the side. Actually, my posts tab looks nothing like yours.

  5. Shaye says

    I tried removing the top image in my post so that it wouldn’t duplicate. Now it shows up at the top when I go to my main blog address. I was pretty happy about that, except that when I went directly to the post where I set the featured image, the image isn’t visible there because I deleted it from the actual post. I’m part of communities where we link to direct posts and so now my fellow community members cannot see the feature photo unless they exit back out to my „home” page. :(

    • WPBeginner Support says

      That design is determined by your specific theme, you would first want to reach out to your theme’s support for displaying the featured image on the post’s page.

      Administrator

  6. Robin says

    I actually want the featured image to appear later in the post but with Featured Image function, it shows at the top.

    I like to use this feature as otherwise Facebook shares will just show whatever is the first picture in the post, which I do not want.

    How do I get this control?

    • WPBeginner Support says

      Sadly, for that type of customization, you would either need to reach out to your theme’s support about customization or use a page builder plugin

      Administrator

  7. Faizan says

    I have just migrated from blogger so there are several posts. Removing post images and adding to featured images would be time-consuming. Can I do it all at once?

  8. Toni says

    This worked for my site, which runs on the Divi Elegant template. I wish there was a way to do this for all my posts though, instead of having to go manually and delete the images from the posts.

  9. Jessica A. says

    I deleted the image in the article and left it as the Featured Image (more than once) and now it does not show in the article at all?

  10. calvin says

    i accidentally deleted some codes from homepage..now my sliders appear twice on the homepage ..what should i do to avoid this

  11. Tom says

    I’ve just taken over a blog & WP is driving me insane. I have an issue similar to this but not quite the same. If I delete the second image (so I now only see the featured image once and it’s not repeated) how do I get the 1st paragraph of copy to appear above the image, not below it?

    Thanks

    • WPBeginner Support says

      Your theme displays featured image before the content or next to it. If you want to display an image after the first paragraph then you need to add it as a normal image instead of featured image.

      Administrator

      • Sandra Evans says

        I had the same problem, but when I do what you said, I don’t have a thumbnail show for prior posts.

  12. Katina says

    Thank you SO much for this info!!! I have been searching forever!!!
    It works for me however when I open the post the image is left aligned and all the other images are centered. How do I set the featured image to centered once I open the post?

    THANKS AGAIN
    K

  13. annie says

    I have a self-hosted WordPress blog running the Sela theme. I have set in my pages a featured image. Yesterday I changed the page to full width page in page attributes. When I check my featured image in page preview it appears. When I visit my site the featured images do not appear at all.

    How can I solve this?

    Many thanks!

    annie

  14. zana says

    Hi,

    My issue is different. I normally get a text code from the licensor of the photo and I insert the text onto the body of the post and the photo will show normally. Now, I want to know how can I use the same photo as featured image? Because the photo won’t show unless you open the article and see it.
    And If I select the featured image option, then two photos will show. The one that I put in the body with the text code and the one as a featured image.
    Thanks

  15. Ankit says

    Thanks for the wonderful info. I want to know that if the thumnail photo and blog photo is different, then what we have to do in that case

  16. Alice Baker says

    This works but what if I don’t want a thumbnail image in my post? What If in the post I want a full sized image? The other issue I have is that sometime I con’t want the lead image in my post to be the same image as the thumbnail used other places.

  17. Cali Swahili says

    I have been looking everywhere for a solution to this and this simple step have solved my problem. Thanks so much!

  18. WPBeginner Staff says

    Yes this article does not help you with that.

    Featured images are a theme feature, usually when it is added to a theme it becomes available to all posts by default. Disabling support for featured images in the theme will disable them on all future post as well.

    To disable featured image support for your theme you need to find this line in your theme’s files (the location of this line varies but most of the time it is found in functions.php file)

    add_theme_support( 'post-thumbnails’ );

    On the other hand you can avoid altering your theme and keep using featured images. For your past posts you can display a generic default fallback image, or you can display a fallback image based on post category.

  19. Alex Smith says

    Some themes have the option to display a featured image in your posts; some don’t. So for someone like me, who switched from a theme that didn’t support them, to one that by default automatically does, I’m looking for a way to disable them in all past posts in this new theme. This article does not help with that.

  20. Frances says

    Just found this post and it really was an eye opener. I have changed my post accordingly and understand now why I was getting the double images. The other issue I’m having is that I just changed my theme and now my featured images are not showing when publicized to FB. Trying to figure out what happened. Do you have any advice for fixing this issue?

    Thanks so much.

    Frances

  21. Johnny says

    But when i have a big blog and now i will change to show feature images directly in theme? Any function to automaticly delete the first picture in all posts?

  22. Nanette says

    In WP, it used to be you could designate a picture within a post as the featured image. This did not produce a duplication of the image (usually now top right thumbnail) on the blog post. With one of the upgrades (not too long ago), I started having problems with any imagine showing up when posting to FB, Google+ et. al. without a second step declaring a feature image. Often I only have one image in a post. Is there any way to designate a feature image for sharing without having it show up as a thumbnail on the blog post (but instead, later as a larger imagine within the blog text)? I’m using the Headway theme, by the way, but don’t imagine that matters. Thanks for any help you can provide!

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.