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

WordPress Temalarında Yazı Alıntıları Nasıl Görüntülenir?

Editoryal Not: WPBeginner üzerindeki ortak bağlantılardan komisyon kazanıyoruz. Komisyonlar, editörlerimizin görüşlerini veya değerlendirmelerini etkilemez. Editoryal Süreç hakkında daha fazla bilgi edinin.

WordPress temanızda yazı alıntılarını nasıl görüntüleyeceğinizi öğrenmek ister misiniz?

Blogunuzda makalenin tamamı yerine yazıdan alıntılar göstererek ziyaretçilerin ilginç içerikleri hızla bulmasına yardımcı olabilir ve sitenizin yüklenme süresini kısaltabilirsiniz.

Bu makalede, WordPress temanıza yazı alıntılarını nasıl kolayca ekleyebileceğinizi göstereceğiz.

How to display post excerpts in WordPress themes

WordPress’te Yazı Alıntıları Neden Görüntülenir?

WordPress varsayılan olarak ana sayfada, blog sayfasında ve web sitenizdeki arşiv sayfalarında tüm yazıları gösterir. Ancak bu, farklı yazılar arasında hızlıca gezinmek ve ilk okumak istediklerini bulmak isteyen kullanıcılar için en iyi deneyim değildir.

Ayrıca, akıllı telefon ve tablet kullanıcıları için büyük bir sorun olan çok sayıda kaydırma anlamına da gelebilir.

Siz daha fazla gönderi yayınladıkça WordPress de sayfalandırma kullanarak bloglarınızı birden fazla sayfaya bölebilir. Eski gönderileriniz diğer sayfalara itildikçe, genellikle çok daha az görüntülenir ve daha az etkileşim alırlar.

Bu nedenle, birçok blog sahibi bunun yerine arşiv ve blog dizin sayfalarında yazı alıntılarını gösterir. Her makalenin yalnızca bir kısmı yüklendiğinden, bu WordPress hızınızı ve performansınızı artırabilir.

An example of post excerpts in a WordPress theme

WordPress’in yazı alıntıları için yerleşik desteği vardır, ancak her tema bu özelliği kullanmaz.

Bununla birlikte, size herhangi bir WordPress temasında yazı alıntılarını nasıl görüntüleyeceğinizi gösterelim.

WordPress Temanızın Yazı Alıntılarını Destekleyip Desteklemediğini Kontrol Etme

Çoğu popüler WordPress teması, yazının tamamı yerine yazı alıntılarını göstermenize olanak tanıyan bir ayara sahiptir.

Temanızın yazı alıntılarını destekleyip desteklemediğini görmek için WordPress panosundaki Görünüm ” Özelleştir sayfasını ziyaret edin.

Bu ayarların konumu WordPress temanıza bağlı olarak değişecektir, ancak ‘Blog’ etiketli herhangi bir ayar aramanız gerekir.

Adding post excerpts to a WordPress theme using the Customizer

Örneğin, Astra WordPress temasını kullanıyorsanız, ‘Blog’u seçmeniz ve ardından ‘Blog/Arşiv’e tıklamanız gerekecektir.

Daha sonra ‘Yazı Öğeleri’ bölümüne ilerleyebilir ve ‘Alıntı’ sekmesini genişletebilirsiniz. Bunu yaptıktan sonra, ‘Alıntı’ seçeneğini seçin.

Adding post excerpts to your WordPress website

Temanızda ‘Tema Ayarları’ veya ‘Gönderi Genel Ayarları’ seçeneği varsa, bu bölümlerde gönderi alıntılarını da etkinleştirebilirsiniz.

Bunu yaptıktan sonra, ‘Yayınla’ düğmesine tıklamanız yeterlidir. Artık blogu, arşivi veya ana sayfayı ziyaret ederseniz, tam yazılar yerine blog alıntılarının bir listesini görmelisiniz.

Temanızda yazı alıntıları için yerleşik destek yoksa eklemeniz gerekecektir. Kullanmak istediğiniz yönteme geçmek için aşağıdaki hızlı bağlantıları kullanmanız yeterlidir:

Yöntem 1: Kod Kullanarak WordPress’e Yazı Alıntıları Ekleme (Kolay)

WordPress temanız varsayılan olarak yazı alıntılarını desteklemiyorsa, bu özelliği her zaman manuel olarak ekleyebilirsiniz.

WordPress tema dosyalarınızı doğrudan düzenleyebilirsiniz, ancak bunun yerine bir alt tema oluşturmanızı öneririz. Bu şekilde, WordPress temanızı güncellediğinizde yaptığınız değişiklikleri kaybetmezsiniz.

Daha fazla ayrıntı için WordPress alt temasının nasıl oluşturulacağına ilişkin başlangıç kılavuzumuza bakın.

Bunu yaptıktan sonra, yazı alıntılarını göstermek istediğiniz her sayfayı kontrol eden şablonu bulmanız gerekecektir. Çoğu tema için bu home.php, content.php, category.php ve archive.php olacaktır.

Doğru dosyayı bulma konusunda yardım almak için WordPress şablon hiyerarşisine ilişkin başlangıç kılavuzumuza bakın.

Bu yapıldıktan sonra, her bir dosyada aşağıdaki kodu bulmanız yeterlidir:

<?php the_content(); ?>

Ardından, bu kodu_excerpt etiketi ile değiştirin:

<?php the_excerpt(); ?>

Bunu yaptıktan sonra dosyayı kaydedin ve web sitenizi kontrol edin. Artık eskiden makalenin tamamının olduğu yerde yazı alıntılarını görmelisiniz.

Varsayılan WordPress Alıntı Uzunluğunu Değiştirin

Varsayılan olarak, WordPress her yazının ilk 55 kelimesini gösterir ve ardından daha fazla içerik olduğunu göstermek için bir üç nokta (…) ekler.

WordPress web sitenize kod ekleyerek bunu daha fazla veya daha az kelime gösterecek şekilde değiştirebilirsiniz. Tema dosyalarını doğrudan düzenlemek mümkün olsa da, bu karmaşık olabilir.

Basit bir hata da birçok yaygın WordPress hatasına neden olabilir ve hatta sitenizi tamamen bozabilir.

Bu nedenle WPCode kullanmanızı öneririz. Tema dosyalarınızı düzenlemek zorunda kalmadan WordPress’e kod parçacıkları eklemeyi kolaylaştırır. Bu şekilde, özel kodu kaybetmeden temanızı güncelleyebilir veya değiştirebilirsiniz.

Öncelikle, ücretsiz WPCode eklentisini yüklemeniz ve etkinleştirmeniz gerekir. Daha fazla bilgi için, bir WordPress eklentisinin nasıl kurulacağına ilişkin başlangıç kılavuzumuza bakabilirsiniz.

Etkinleştirmenin ardından WordPress panosundan Kod Parçacıkları ” + Parçacık Ekle sayfasını ziyaret edin ve ‘Özel Kodunuzu Ekleyin (Yeni Parçacık)’ seçeneğinin altındaki ‘Parçacık Kullan’ düğmesine tıklayın.

How to show post excerpts using code

Bir sonraki ekranda, kod parçacığı için bir başlık yazın. Bu sadece referans içindir, bu yüzden istediğiniz herhangi bir şeyi kullanabilirsiniz.

Bundan sonra, ‘Kod Türü’ açılır menüsünü açın ve ‘PHP Snippet’i seçin.

Customizing your post excerpts using code

Bunu yaptıktan sonra, aşağıdakileri kod düzenleyiciye yapıştırın:

return 100;
}
add_filter('excerpt_length', 'new_excerpt_length');

// Changing excerpt more
function new_excerpt_more($more) {
return '...';
}
add_filter('excerpt_more', 'new_excerpt_more');

Bu kod, yazı alıntı uzunluğunu 100 karakter olarak değiştirir. ‘100’ü istediğiniz herhangi bir sayı ile değiştirebilirsiniz.

Kodu yapıştırdıktan sonra, sağ üst köşedeki anahtarı ‘Etkin Değil’den ‘Etkin’e getirin ve ardından ‘Snippet’i Kaydet’ düğmesine tıklayın.

Save and activate code snippet WPCode

Yazı alıntılarınıza nasıl ince ayar yapacağınızla ilgili daha fazla ipucu için lütfen WordPress alıntılarını kod kullanmadan özelleştirme kılavuzumuza bakın.

Yöntem 2: Tam Site Düzenleyicisini Kullanarak Yazı Alıntıları Ekleme (Yalnızca Blok Temaları)

Daha yeni blok WordPress temalarından birini kullanıyorsanız, tam site düzenleyicisini kullanarak yazı alıntıları ekleyebilirsiniz.

Başlamak için WordPress panosundaki Görünüm ” Düzenleyici bölümüne gidin.

Using the full-size editor (FSE)

Varsayılan olarak, tam site düzenleyicisi temanızın ana şablonunu gösterir, ancak herhangi bir şablona bir alıntı ekleyebilirsiniz.

Sol taraftaki menüde ‘Şablonlar’a tıklamanız yeterlidir.

Displaying post excerpts in WordPress using the full-site editor (FSE)

Şimdi WordPress temanızı oluşturan tüm şablonların bir listesini göreceksiniz. Temanıza bağlı olarak, arşiv, dizin, arama veya benzer bir şablona alıntılar eklemek isteyebilirsiniz.

Düzenlemek istediğiniz şablonu bulup tıklamanız yeterlidir.

Displaying post excerpts using the WordPress full-site editor (FSE)

WordPress şimdi bu şablonun bir önizlemesini gösterecektir.

Devam etmek ve şablonu düzenlemek için küçük kalem simgesine tıklayın.

Displaying post excerpts using the WordPress full-site editor (FSE)

Şimdi, ‘+’ simgesine tıklayın.

Görüntülenen arama paneline ‘Post Excerpt’ yazın.

Adding the post excerpt block to a block-based WordPress theme

Doğru blok göründüğünde, onu düzeninize sürükleyip bırakın.

Şablona birden fazla gönderi alıntısı eklemek için bu işlemi tekrarlayabilirsiniz.

Adding the post excerpt block to a block-based WordPress theme

Alıntının nasıl görüneceğine ince ayar yapmak için Post Excerpt bloğunu seçmek üzere tıklamanız yeterlidir.

Sağ taraftaki menüde, ‘Bağlantıyı yeni satırda göster’ geçişini kullanarak ‘Devamını Oku’ bağlantısının alıntıyla aynı satırda görünüp görünmeyeceğini seçerek başlayabilirsiniz.

Adding a read more button to a blog archive page

Bunu yaptıktan sonra, ‘Stiller’ sekmesini seçin. Burada metin rengini değiştirebilir, arka plan rengi ekleyebilir, yazı tipi boyutunu değiştirebilir ve daha fazlasını yapabilirsiniz.

Siz değişiklik yaptıkça, canlı önizleme otomatik olarak güncellenir, böylece neyin en iyi göründüğünü görmek için farklı ayarları deneyebilirsiniz.

How to customize a WordPress post excerpt

Yazı alıntısının nasıl ayarlandığından memnun olduğunuzda, değişikliklerinizi canlı hale getirmek için ‘Kaydet’ düğmesine tıklayın.

Yazı alıntılarını daha fazla sayfa ve gönderide göstermek mi istiyorsunuz? O zaman yukarıdaki adımları tekrarlayın, ancak bu kez sol taraftaki menüden yeni bir şablon seçin.

Yöntem 3: Tema Oluşturucu Kullanarak WordPress’e Yazı Alıntıları Ekleme (Gelişmiş)

Arşivin, blog sayfasının, ana sayfanın ve sitenizin geri kalanının nasıl görüneceği üzerinde tam kontrol istiyorsanız, özel bir tema oluşturabilirsiniz.

Bu, kendi sayfalarınızı tasarlamanıza ve alıntıları web sitenizin herhangi bir yerinde göstermenize olanak tanır.

SeedProd, herhangi bir kod yazmadan kolayca özel bir WordPress teması oluşturmanıza olanak tanıyan en iyi WordPress tema oluşturucusudur. Ayrıca herhangi bir sayfaya sürükleyip bırakabileceğiniz hazır bir Mesajlar bloğuna sahiptir.

Not: Bütçeniz ne olursa olsun güzel yakında ve bakım modu sayfaları oluşturmanıza olanak tanıyan ücretsiz bir SeedProd eklentisi vardır. Ancak, tema oluşturucunun kilidini açmak için SeedProd Pro veya Elite planına ihtiyacınız olacak.

Öncelikle SeedProd eklentisini yüklemeniz ve etkinleştirmeniz gerekir. Daha fazla ayrıntı için, bir WordPress eklentisinin nasıl kurulacağına ilişkin adım adım kılavuzumuza bakın.

Etkinleştirmenin ardından SeedProd ” Ayarlar sayfasına gidin ve eklentinin lisans anahtarını girin. Bu bilgiyi SeedProd web sitesindeki hesabınızda bulabilirsiniz.

Adding a SeedProd license key to WordPress

Lisans anahtarını girdikten sonra, SeedProd tema oluşturucusunu kullanarak özel bir WordPress teması oluşturmaya hazırsınız.

İlk olarak, SeedProd ” Tema Oluşturucu sayfasına gitmeniz gerekir.

The SeedProd theme builder

Burada, başlangıç noktası olarak hazır SeedProd site kitlerinden ve şablon larından birini kullanabilir veya sıfırdan manuel olarak bir şablon oluşturabilirsiniz.

Gerekli tüm şablon dosyalarını otomatik olarak oluşturduğu ve size avantaj sağladığı için mevcut bir temayla başlamanızı öneririz.

Bununla birlikte, ‘Tema Şablon Kitleri’ düğmesine tıklayın.

Creating a custom WordPress theme using SeedProd

Artık mevcut şablonlardan herhangi birini seçebilirsiniz.

Bu temaların tümü tamamen özelleştirilebilir, böylece WordPress blogunuza veya web sitenize mükemmel şekilde uyacak şekilde ince ayar yapabilirsiniz.

Choosing a theme template for your WordPress website or blog

Bir tema seçtikten sonra, SeedProd ihtiyacınız olan tüm tema şablonlarını otomatik olarak oluşturacaktır.

Bunu özel WordPress temanızın taslak sürümü olarak düşünebilirsiniz.

Customizing the blog, archive, and search pages using SeedProd

Artık SeedProd’un sürükle ve bırak editörünü kullanarak her şablonu özelleştirebilirsiniz.

Web sitemize yazı alıntıları eklemek istediğimiz için, farenizi‘Blog Dizini, Arşivler, Arama’ şablonunun üzerine getirin ve karşınıza çıkan ‘Tasarımı Düzenle’ bağlantısına tıklayın.

How to add post excerpts to your WordPress theme with SeedProd

Bu, SeedProd sürükle ve bırak oluşturucusunu yükleyecektir.

Sağ tarafta şablonun bir önizlemesini göreceksiniz. Varsayılan olarak, blog sayfası şablonu başlığı, arşivi, başlığı ve tüm gönderilerinizi gösterecektir.

The SeedProd drag and drop theme editor and page builder

Sol tarafta, kullanabileceğiniz tüm farklı blokları içeren bir menü gösterilir.

Yeni blokları sayfaya sürükleyerek ekleyebilir ve ardından farenizle yukarı ve aşağı sürükleyerek yeniden düzenleyebilirsiniz.

Herhangi bir bloğu üzerine tıklayarak ve ardından sol taraftaki menüde bulunan ayarları kullanarak özelleştirebilirsiniz. Bir değişiklik yaptığınızda, SeedProd önizlemesi bu değişiklikleri eylem halinde göstermek için otomatik olarak güncellenecektir.

How to customize any block in a WordPress theme

Yazı alıntılarını özelleştirmek istediğimiz için, canlı önizlemede ‘Yazılar’ bloğunu seçmek için tıklamanız yeterlidir.

Bunu yaptıktan sonra, sol taraftaki menüde yer alan ayarları kullanarak bu blokta göstermek istediğiniz içeriği seçin.

Örneğin, sütun düzenini değiştirebilir, sayfalandırmayı görüntüleyebilir, öne çıkan görseli gösterebilir ve başlık etiketini değiştirebilirsiniz.

How to add post excerpts to a WordPress theme without writing code

Gönderi alıntısını göstermek için, turuncuya dönmesi için ‘Alıntı Göster’ geçişine tıklamanız yeterlidir.

Bunu yaptıktan sonra, SeedProd’un alıntıda kaç karakter göstereceğini ‘Alıntı Uzunluğu’ kısmına yeni bir sayı yazarak değiştirebilirsiniz.

Adding blog excerpts to a WordPress theme

SeedProd ayrıca her alıntıya okuyucuları makalenin tamamını açmaya teşvik edecek bir ‘Devamını Oku’ bağlantısı ekleyebilir.

‘Daha Fazla Oku Göster’ geçişini kullanarak bu bağlantıyı ekleyebilir veya kaldırabilirsiniz.

Adding a 'Read More' button to your post excerpts

Ayrıca ‘Devamını Oku’ metnini ‘Devamını Oku Metni’ alanına yazarak kendi mesajınızla değiştirebilirsiniz.

Yazı alıntısının nasıl ayarlandığından memnun olduğunuzda, ekranınızın sağ üst köşesindeki ‘Kaydet’ düğmesine tıklayın.

Customizing the 'Read More' link in a post excerpt

Şimdi SeedProd ” Tema Oluşturucu ‘ya giderek ve yukarıda açıklanan aynı süreci izleyerek diğer SeedProd şablonlarını özelleştirebilirsiniz.

Yazı alıntılarını ziyaretçilere göstermek için öncelikle SeedProd temanızı etkinleştirmeniz gerekir. Bunu yapmak için SeedProd ” Tema Oluşturucu ‘ya gidin ve ardından ‘SeedProd Temasını Etkinleştir’ geçişine tıklayarak ‘Evet’i gösterin.

How to enable a custom WordPress theme using SeedProd

Şimdi, blog sayfalarınızdan herhangi birini ziyaret ederseniz, yazı alıntılarını canlı olarak göreceksiniz.

Bonus: Parola Korumalı İçerik İçin Alıntıları Göster

Bir üyelik siteniz varsa, genel kitlenin erişimine açık olmayan bazı içerikleriniz olabilir. Ancak yine de parola korumalı içeriğiniz için bir alıntı göstermek iyi bir fikirdir.

Bu, kullanıcıların ilgisini çekebilir ve onları web sitenizdeki özel içeriğe erişmek için aboneliklerinizi satın almaya teşvik edebilir.

Popüler bir içerik koruma eklentisi olan Restrict Content Pro‘yu kullanarak bunu kolayca yapabilirsiniz. Etkinleştirdikten sonra, blok panelinden bir alıntı ekleyebileceğiniz WordPress blok düzenleyicisinde istediğiniz bir yazıyı açmanız yeterlidir.

Bundan sonra, açılır menüden kısıtlamasını yapılandırabilirsiniz.

Add an excerpt for the restricted post

Son olarak, yazıyı yayınlayın ve ardından WordPress sitenizi ziyaret edin.

Burada kullanıcılar, kısıtlanan içerik için tıpkı diğer gönderiler gibi gönderi alıntısını ve başlığını görebileceklerdir. Ancak içeriğin kendisi izleyicilerden gizlenecektir.

Protected content excerpt preview

Ayrıntılı talimatlar için WordPress’te parola korumalı bir yazının alıntısının nasıl gösterileceğine ilişkin eğitimimize de bakabilirsiniz.

Umarız bu makale WordPress temalarında yazı alıntılarını nasıl görüntüleyeceğinizi öğrenmenize yardımcı olmuştur. WordPress ile çevrimiçi blog yazarak nasıl para kazanılacağına ilişkin rehberimizi ve kullanmanız gereken en iyi WordPress SEO eklentileri ve araçları için uzman seçimlerimizi de görmek isteyebilirsiniz.

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.

Açıklama: İçeriğimiz okuyucu desteklidir. Bu, bazı bağlantılarımıza tıklarsanız komisyon kazanabileceğimiz anlamına gelir. WPBeginner'ın nasıl finanse edildiğini, neden önemli olduğunu ve nasıl destek olabileceğinizi görün. İşte editoryal sürecimiz.

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.

Ultimate WordPress Araç Kiti

Araç setimize ÜCRETSİZ erişim sağlayın - her profesyonelin sahip olması gereken WordPress ile ilgili ürün ve kaynaklardan oluşan bir koleksiyon!

Reader Interactions

94 yorumBir Cevap Bırakın

  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. Manasi says

    for the plane these this is what worked for me – Go to the home page and clkick edit. Go to the block editor and click on the block – Blog Posts. You will seea setting which states ‘post control settings’

    There you can enable or disable the show excerpt setting

  3. Dicado says

    Hi thanks for this. I don’t have those files in my child theme. If I just go ahead and do this in my parent theme, won’t it be erased if there is an update?

    • WPBeginner Support says

      Correct, if you place it in your parent theme and the parent theme is updated your changes would be lost

      Yönetici

  4. John says

    Thanks for this post. I also want to ask for help on how to add padding around excerpt. I have added border lines around my excerpt; the problem is the excerpt is touching the borderlines. How do I add padding around the excerpts, preventing it from touching the borderlines? Thanks in advance.

  5. Atul Jagtap says

    Hi their,
    I am using ‘Enlightenment’ theme but I have a problem that in my post I can’t see the short Post Excerpt ie it’s come blank. And this happened only with ‘Enlightenment’ this theme. Because same code I am using in other theme is working fine. So is anybody give me solution on this?

  6. Sara Pedersen says

    Hello

    I have custom excerpt in the excerpt box for each post. They are a photo link. This has worked for several years and the photo is at the top of the post with the post link below. Suddenly the last 2 posts the excerpt photo is not posting. Any tips to fix this?

  7. Siddhesh says

    Hi,

    I can locate index.php and categories.php in my theme folder but i dont find the mentioned syntax. How do i fix this?

    -Siddhesh

  8. Francesco says

    Hi, maybe my question will sound silly to you but… I never installed WordPress on a server/host, I just suscribed and got the .wordpress.com domain, everything was automatic. So, how can I access these files? I read in the comments about the FTP protocol, which I am familiar with, but who gives the information to enter in the domain with that?

    And while we’re at it, do you suggest to install wordpress by yourself (online I see there are a lot of tutorials and seems easy to do) or continuing as I am doing on the .wordpress.com domain? Maybe one day I will buy the premium and have a direct domain, but besides that, are there any advantages in terms of functionality in installing manually?

    • Javier says

      Hi, you can find those files using a FTP account.

      When you get in to your server files, get in into this route:
      wp-content/themes/ your-theme-name /

      And you will find the files

  9. Tolu says

    Hi there,
    My theme doesn’t support excerpts on the homepage, i’ve enabled excerpts on the blog post and its still not showing on the homepage, i’m not a php pro so i don’t know my way around it.

    Any help would be appreciated.

  10. Sreeharsh says

    Hi, My theme doesn’t support excerpts in the posts page.
    Can you please help me to enable it to display under my page title.
    Thank you. :D

  11. javad says

    hi
    my theme have excerpts option and i enabled it

    and i want to show my post images above this excerpts on index,php

    i used Auto Post Thumbnail and Featured Image plugins

    but i dont know code to show Thumbnail above the posts

  12. Dorine Ogutu says

    Hello, I am a beginner and I am using the Nucleare theme. I can’t find the index.php file. Please help.

    Desparate

    • Constantine says

      You will need to open either the terminal or your cPanel (if you’re using a shared host and it provides this feature), find your wordpress directory, and under the directory there’ll be a folder called “wp-content”, then enter “themes”, and then find the one folder that the name is your currently using one.

      If you’re using a terminal,

      type

      cd /…/…/wp-content/themes/

      and use cd to enter your themes folder that’s where your index.php lies. “…” here means your previous directory of your wordpress root directory, you will need to find that yourself and figure out what it is first you installed your wordpress on your server.

      Not sure if this helps since it’s been awhile, i’m a newbie myself so hope it might help you and others.

  13. Chris says

    I’ve just updated to a responsive theme and all the posts were in excerpt form. From reading this column I was able to change them to full content. What I’d really like is to have my current post in full content mode, so my followers see it as soon as they get on my site, and the older posts in excerpt form, so that the site loads more quickly. Is this possible? Thanks for your help!

    • James says

      @Chris, I’m trying to do the same thing. Did you figure this out (how to show the latest post in full mode, and the rest as “excerpts”)?

  14. Gaurav says

    I am using custom excerpts from wordpress. It is displayed on my home page. But it is not displayed on my original post. I want to display this excerpt just before my actual post with different font styles and font colour.
    Is there a way to do that ?

  15. pase says

    Trying to display a list blog excerpt summary after the blog introduction. Created a custom template for the blog front page. How can I call the blog excerpt summary page from the custom template?

  16. Drew says

    you know there’s a plugin that can resolve this. with ANY tutorials, it’s never 100% clear because there are files or scripts that are different or not available…pending multi-site install or single-site install etc etc. even with your simple instructions, i couldn’t find the proper tag to replace…so i just downloaded a plugin and 1 minute later…fixed.

    • Dawn Youngs says

      I am working in the Organization Theme on WordPress.com. I have managed to set up a static Home Page and a Blog Page which displays my recent posts. I have chosen the summary options for each article in my feed, but when I publish the page I see the full text of each post on my Blog Page. I have set featured images and I have Written Custom Excerpts for my pages and I want a Blog Page displays the excerpts and images with a link to the post page. How in the world do I do this? What is going on with no change between summary and full in the reading section of my settings? Is this an issue with the theme or a general problem in WordPress? I just want a clean simple page that shows a series of excepts for a weekly report, please help!

      By the way, I do not know how to open my files, I cannot even find my file directory, and wonder if it is hidden from me because I am in .com and not hosting the site myself like in .org?

  17. Rahul says

    I have used experts for some of my posts but i found a problem, special signs like,”! are not rendering properly and there’s some utf-8 problem… can you guys conform whether its a WordPress problem or my hosting. Though the problem only causes in my excerpts (summary) but the article with “are opening up fine” and can be read properly. If its a WordPress issue please let us know if there’s any solution to it.

    Thanks,
    RAHUL

  18. Seth says

    I am using the twentythirteen template. None of the files mentioned have “the_content” in them. Also, there is no longer a “loop.php” file. (I only want my archives – tag and category to have the excerpt).

    This is what I see in the archives.php and category.php:

    Changing ‘content’ to ‘excerpt’ also doesn’t seem to do the trick.

      • Imoteda says

        whenI change it in content.php, I can no longer see the full posts on any pages. Clicking on the continue reading link gives me the same excerpt

        • Jenn says

          I’m having the same issue. I successfully changed the_content to the_excerpt. This makes my blogroll successfully show the excerpt instead of the full post. However, when I click into a post, only the excerpt is shown. Is there a way to modify the single.php file to guarantee the entire post content is displayed when viewing a single post? Any advice is really appreciated!

  19. lester says

    finally . . . . FINALLY !!

    i FINALLY found an answer to a problem with wordpress.

    for the love of God and flowers and good food and wine!

    thank you !! thank you !! thank you !!

  20. Daniel Z says

    Thanks! This worked like a gem in the inStyle theme by Elegant Themes. I actually had to edit the code in home.php, but thanks for leading me in the right direction.

  21. Trenton Miller says

    This is great, it’s working for me now. I would like to have the images that I have at the beginning of blog posts that I inserted via HTML, not the Featured Image method. On the blog posts where the image is within the first 55 characters, or whatever you set it to, how can I get it to appear? Is there something extra to add into functions.php?

    • Editorial Staff says

      Automatic excerpts do not show HTML elements. You have two options. Either write a custom excerpt using the excerpts field in your write panel. If you don’t see it, then look at the top right hand corner “Screen Options”. The other option is to use the_content, and utilize the more tag.

      Yönetici

      • Caroline says

        Ouuch – thanks for your comment. I was searching for hours for this information. Such simple but well hidden if you don’t know how to add individual excerpts. Was looking to change the php files but did not dare for missing experience. All set now, thanks again.

  22. Dr. Erika says

    This is AWESOME. Seriously thank you wpbeginner for all your articles.

    Any idea of how to add pictures to the displayed excerpts?

  23. Bridget says

    OMG dude, thank you so much for this! I literally spent like 45 minutes trying to figure this out with an elegant theme, only to find that your solution took about 12 seconds. Gahh! Oh well, all is well that ends well! Thanks!

    • Deepak says

      Hye Sudip,
      Open any post to edit. On the top of it you will find the screen option. Click on that , then you will see so many options there. Then go to the excerpt option , check on that option. Then below the title and content box, you can see the excerpt box .You can write your excerpt content there.

  24. Jay Madisson says

    Hi,

    Im just wondering, where can I find the (Open your index.php file, archive.php file, and category.php file.)? Sorry for being a noob in HTML :(

    Cheers,

    Jay MAdisson

    • Jerry says

      I’m sorry, are we speaking here of files that reside on my computer? I thought the whole blog was done online. I have no software for WordPress on my computer. I have not downloaded anything. What am I missing? Does one have to know HTML code to blog?

  25. Rich says

    Hello, I’m using the 2010 theme on the blog and it didn’t change to when I replaced content with the word excerpt. Is it something I’m leaving out??

  26. Emma says

    I am using the new twenty twelve theme to base a child theme on and cannot get excerpts to work at all. I looked in all the files you suggest above, but cannot find
    in any of them. Similar to Heather I have imported my blog from blogger too…
    There also doesn’t seem to be a loop.php file
    Help!

      • Emma says

        Thanks for this – I changed entry-content in content.php to

        and it has worked!

        The problem I have now is how to get the excerpt text to wrap around the thumbnail, which I would like to float either right or left.

        Any ideas?

        Thanks

  27. Erin says

    Maybe you can help me here. There is no in any of the files you listed above; index.php, archive.php, or category.php. This is the closest thing that I see (from my index.php file).

    Can I change something in this code or add some new code?

    • Editorial Staff says

      If none of those files exist, that means you are using a child theme. You will have to utilize the hooks in the parent theme framework. We don’t write tutorials specific for theme frameworks.

      Yönetici

  28. Chris says

    I’m using the twentyeleven theme and “the_content” does not appear in any of the three files mentioned. I’m stumped.

  29. HemantKokcha says

    I am trying to get excerpt but i cant get excerpt by both of your method so tell me correctly how wll i get excerpt in traction theme.

    • wpbeginner says

      @HemantKokcha There is only one method… changing the_content to the_excerpt… The other function is to controlling excerpt length and the excerpt read more. If its not showing in your theme, then perhaps try contacting the theme author. Because this is the only way of doing it.

  30. clwdk says

    Hi there,

    I am using the newest version of the twenty ten theme and am not sure where to change the <?php the_content(); ?> to <?php the_excerpt(); ?>. There is nothing in the index.php as far as I can see. Am I overlooking something? Thanks for any help you can give me.

    CARL

  31. wpbeginner says

    @Ibadullah You have to add this code in your theme’s functions.php file. It should work perfectly fine because this is the way to do it, and we are doing it on our site.

  32. Ibadullah says

    @wpbeginner@Ibadullah I am saying when I add the number in post excerpt – I just see the same number on main page. such as I type 50 in the post excerpt field it show Category name : APPLE and instead of content it show number 50

  33. nescafespk says

    <a href=”http://www.games-masti.com” title=”Play Online Games”>Play Online Games</a>

    This is very nice trick and thanks for help us and thanks for the whole team of the word press team

  34. Carl says

    Great – thanks. Was looking for a simple solution. How do you include a Read more… link after the excerpt also though?

  35. Heather says

    Thank you for the article. I made the changes in all 3 documents and nothing changed. All of the posts on the blog I am working on were imported from Blogger, could that be an issue or perhaps the theme itself? I am stumped!

Bir Cevap Bırakın

Yorum bırakmayı seçtiğiniz için teşekkür ederiz. Lütfen tüm yorumların yorum poli̇ti̇kasi uyarınca denetlendiğini ve e-posta adresinizin yayımlanmayacağını unutmayın. Ad alanında anahtar kelime KULLANMAYIN. Kişisel ve anlamlı bir sohbet edelim.