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’te Gelecekteki Planlanmış Yazılar Nasıl Listelenir?

Web sitesi ziyaretçilerinin ilgisini canlı tutmak ve yeni içerikler beklemek blog yazarları ve içerik oluşturucular için süregelen bir zorluktur. WPBeginner’da sadık bir okuyucu kitlesi oluşturmanın gücünü anlıyoruz.

Kullanıcı etkileşimini önemli ölçüde artırabilecek bir strateji, yaklaşan planlanmış gönderilerin seçilmiş bir listesini sergilemektir.

İçerik takviminizi stratejik olarak sergileyerek yeni yayınlar için heyecan yaratabilir, tekrar ziyaretleri teşvik edebilir ve nihayetinde gelişen bir çevrimiçi topluluk oluşturabilirsiniz.

Bu makalede, WordPress’te gelecek yazıları nasıl kolayca görüntüleyebileceğinizi adım adım göstereceğiz.

List Future Upcoming Scheduled Posts in WordPress

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

Bir süredir bir WordPress blogu işletiyorsanız, yazıları belirli bir zamanda yayınlamanın daha fazla kişinin okumasını sağlayabileceğini bilirsiniz.

Ancak, yayınla düğmesine basmak için oturup doğru zamanı bekleyemezsiniz. Bu nedenle WordPress’in, gönderileri daha sonra yayınlanmak üzere planlamanıza olanak tanıyan yerleşik bir zamanlama özelliği vardır.

Bu, içerik oluşturmaya ve editoryal takviminizi bir profesyonel gibi yönetmeye odaklanmanıza yardımcı olabilir.

Sitenizdeki yazıları planladıktan sonra, bu yazıların etrafında heyecan yaratmak ve blogunuzdaki etkileşimi artırmak için yaklaşan bu makalelerin bir listesini göstermek de iyi bir fikirdir.

Gelecekte planlanmış gönderileri görüntülemek özellikle seri hikayeler, ürün lansmanları veya etkinlik duyuruları gibi içerikler için etkili olabilir.

Kullanıcıları yorumlar bölümünde veya sosyal medyada yaklaşan konuları tartışmaya, haber bülteninize kaydolmaya ve hatta etkinlikler için ön kayıt yaptırmaya teşvik edebilir.

Bunu söyledikten sonra, WordPress’te yaklaşan zamanlanmış gönderileri nasıl kolayca listeleyeceğimizi görelim.

Temanızın functions.php dosyasına özel bir kod ekleyerek WordPress sitenizde planlanan gelecek yazıların bir listesini kolayca gösterebilirsiniz. Ancak kodu yazarken en küçük bir hata yapmanız bile sitenizi bozabilir ve erişilemez hale getirebilir.

Bu nedenle her zaman WPCode kullanarak özel kod eklemenizi öneririz. Web sitenize kod eklemeyi güvenli ve kolay hale getiren piyasadaki en iyi WordPress kod parçacıkları eklentisidir.

Öncelikle WPCode eklentisini yüklemeniz ve etkinleştirmeniz gerekir. Ayrıntılı talimatlar için WordPress eklentisinin nasıl kurulacağına ilişkin başlangıç kılavuzumuza bakın.

Not: WPCode’un bu eğitim için kullanabileceğiniz ücretsiz bir planı vardır. Ancak, pro plana yükseltmek kod parçacıkları için bulut kütüphanesi, gelişmiş koşullu mantık ve daha fazlası gibi daha fazla özelliğe erişmenizi sağlayacaktır.

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.

Add new snippet

Bu sizi kod parçacığınız için bir ad ekleyerek başlayabileceğiniz ‘Özel Snippet Oluştur’ sayfasına götürecektir. Bu ad sadece sizin tanımlamanız içindir ve istediğiniz herhangi bir şey olabilir.

Bundan sonra, sağdaki açılır menüden Kod Türü olarak ‘PHP Snippet’i seçin.

Choose PHP Snippet option for the code snippet to show a list of scheduled upcoming posts

Ardından, aşağıdaki özel kodu kopyalayıp ‘Kod Önizleme’ kutusuna yapıştırmanız gerekir:

function wpb_upcoming_posts() { 
    // The query to fetch future posts
    $the_query = new WP_Query(array( 
        'post_status' => 'future',
        'posts_per_page' => 3,
        'orderby' => 'date',
        'order' => 'ASC'
    ));
 
// The loop to display posts
if ( $the_query->have_posts() ) {
    echo '<ul>';
    while ( $the_query->have_posts() ) {
        $the_query->the_post();
        $output .= '<li>' . get_the_title() .' ('.  get_the_time('d-M-Y') . ')</li>';
    }
    echo '</ul>';
 
} else {
    // Show this when no future posts are found
    $output .= '<p>No posts planned yet.</p>';
}
 
// Reset post data
wp_reset_postdata();
 
// Return output
 
return $output; 
} 
// Add shortcode
add_shortcode('upcoming_posts', 'wpb_upcoming_posts'); 
// Enable shortcode execution inside text widgets
add_filter('widget_text', 'do_shortcode');

Bundan sonra, ‘Ekleme’ bölümüne gidin ve ‘Otomatik Ekleme’ modunu seçin.

WordPress web sitenizde yaklaşan yazıların bir listesini göstermek için yine de bir kısa kod eklemeniz gerekeceğini unutmayın.

Choose an insertion method

Son olarak, ‘Etkin Değil’ anahtarını ‘Etkin’ olarak değiştirmek için sayfanın en üstüne geri gidin.

Bunu yaptıktan sonra, ayarlarınızı kaydetmek için ‘Snippet’i Kaydet’ düğmesine tıklamanız yeterlidir.

Save the code snippet for showing scheduled posts

Klasik Temanın Kenar Çubuğunda Planlanmış Yaklaşan Gönderilerin Listesini Görüntüleme

WordPress kenar çubuğunda yaklaşan yazıların bir listesini görüntülemek için WordPress panosundan Görünüm ” Widget ‘lar sayfasını ziyaret edin. Bu seçeneğin yalnızca klasik (blok olmayan) bir tema kullanıyorsanız mevcut olacağını unutmayın.

Burada, blok menüsünü açmak için ekranın sol üst köşesindeki blok ekle ‘+’ düğmesine tıklamanız gerekir.

Buradan, Kısa Kod bloğunu kenar çubuğu bölümüne sürükleyip bırakın. Bundan sonra, aşağıdaki kısa kodu bloğa ekleyin:

[upcoming_posts]

Add the shortcode for displaying a list of upcoming scheduled posts in the widget area

Ardından, ayarlarınızı kaydetmek için en üstteki ‘Güncelle’ düğmesine tıklayın.

Artık WordPress sitenizi ziyaret ederek yaklaşan zamanlanmış gönderilerin listesini görüntüleyebilirsiniz.

A preview of list of upcoming scheduled posts

Tam Site Düzenleyicisinde Planlanmış Yaklaşan Gönderilerin Listesini Görüntüleme

Eğer blok tabanlı bir tema kullanıyorsanız, Widget’lar menü sekmesi sizin için kullanılabilir olmayacaktır. Bu durumda, WordPress kontrol panelinden Görünüm ” Düzenleyici sayfasını ziyaret etmeniz gerekir.

Editör açıldığında, ‘Sayfalar’a tıklayın ve ardından soldaki seçeneklerden kısa kodu eklemek istediğiniz bir sayfa seçin.

Choose a page in the full site editor where you want to add a shortcode

Seçtiğiniz sayfa şimdi tam site düzenleyicisinde başlatılacaktır. Burada, blok menüsünü açmak ve Kısa Kod bloğunu sayfaya eklemek için blok ekle ‘+’ düğmesine tıklamanız gerekir.

Bundan sonra, aşağıdaki kısa kodu bloğa eklemeniz yeterlidir: [upcoming_posts]

Add shortcode to display scheduled upcoming posts in the FSE

Son olarak, ayarlarınızı kaydetmek için en üstteki ‘Kaydet’ düğmesine tıklayın.

Şimdi, planlanmış gelecek yazıların listesini görüntülemek için WordPress sitenizi ziyaret etmeniz yeterlidir.

Upcoming posts preview in FSE

Bonus: WordPress’te Son Gönderiler Nasıl Görüntülenir?

Yaklaşan gönderileri görüntülemenin yanı sıra, WordPress sitenizde son yayınlanan gönderilerin bir listesini de göstermek isteyebilirsiniz.

Bunu yapmak, ziyaretçileri yeni içeriklerle tanıştırmaya ve web sitenizi daha fazla keşfetmeye teşvik etmeye yardımcı olabilir.

Gutenberg editöründeki Son Yazılar bloğunu kullanarak WordPress’teki yeni yazıların bir listesini kolayca görüntüleyebilirsiniz.

Show post content in recent posts

Bundan sonra, yazı alıntıları, yazar adı, yayın tarihi veya öne çıkan görsel ekleyerek bu bloğu daha da özelleştirebilirsiniz.

Daha fazla bilgi için WordPress’te son gönderilerin nasıl görüntüleneceğine ilişkin eğitimimize bakabilirsiniz.

Umarız bu makale WordPress’te gelecekteki zamanlanmış yazıları nasıl listeleyeceğinizi öğrenmenize yardımcı olmuştur. WordPress’te yazıları toplu olarak nasıl plan layacağınıza ilişkin eğitimimiz ve en iyi WordPress popüler yazı eklentileri için en iyi seçimlerimiz de ilginizi çekebilir.

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

25 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. Hajjalah says

    Thanks for your guide, I successfully placed future upcoming posts into my sidebar using the the code snippet method. But I still have a question about this. Is there a way to enable the featured image for the scheduled posts to be shown using the code method?

    • WPBeginner Support says

      It would require some changes to the code, we will look into the possibility in the future :)

      Yönetici

  3. Jiří Vaněk says

    I sometimes use scheduling posts and this is a really great way to entice people to visit again. It’s a really neat idea. Thanks for the tutorial on how to do it.

    • WPBeginner Support says

      If you wanted to make a video teaser, that would normally be best done by publishing a post for the specific teaser :)

      Yönetici

  4. Mrteesurez says

    This is a great idea.
    Show the upcoming scheduled posts will get users informed of new posts and make them return to read the post when published or live. It will also give user an opportunity to suggest next posts that they need to reads and be best benefited to them.
    I will implement this idea, thanks.

  5. Patrick says

    Hello,
    it was a very useful article! I used to code for a long time because it was exactly what I needed. Unfortunately, it doesn’t seem to be working anymore, and I haven’t found a way to fix it.

    • WPBeginner Support says

      From testing the code is still working, you would want to use the shortcode block if you are not currently and that should allow the shortcode to work in your widget area again.

      Yönetici

      • Patrick says

        I stand corrected! The code is indeed still working PERFECT. I’ve made a mistake in the way I added it to the functions.php of the theme!

  6. Susanne Tamir says

    Great function exactly what i need but one thing missing the title is not linked to the post. How do i link the title to the post in this code? Thanks a lot

    • WPBeginner Support says

      We do not have a recommended method for that as this would show the upcoming posts that are not published yet so there is nothing to send the users to.

      Yönetici

  7. rashid says

    it is great and exactly what I needed,
    now i am thinking about, making the Post test a link, and on hover can give extra info,
    plus is it possible to add a url behind them (example: register for an upcoming event.)

  8. Antuan says

    I have to do couple to leave me in a normal page all future events with their titles, dates and featured images? Thank you.

  9. Rogier says

    Thanks for sharing this manual code. I wonder how it could be modified for Custom Post Types? For example for an ‘event’ post type? Is that something you could reveal? (None of the scheduled post plugins work for custom post types.)

    • may says

      i think you can do that by adding (‘post_type’ => ‘addcustomposttype’,) this in array im not sure but this one is working in my custom post type btw thank you wpbeginner for the tut :D

  10. Cecilio says

    I have found a problem in code:

    For exclude sticky posts to add this line to query:

    ‘ignore_sticky_posts’ => 1,

    Useful article :-)

  11. MarkDeafMcGuire says

    I like to use the Editorial Calendar. It allows you to drag and drop posts from a calendar point of view. Useful for trending topics and seeing gaps in scheduling posts.

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.