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 3.5’te Yazı Biçimleri için Kullanıcı Arayüzü Ekleme

WordPress’te mikro blog işlevselliği sunmak için WordPress 3.1’de yazı formatları tanıtıldı. Var olmasına rağmen, yeni başlayanların çoğu bunu nasıl kullanacakları konusunda hiçbir fikre sahip değil. Nedeni: Çünkü Tumblr’da olduğu kadar belirgin değil. WordPress bir yazıyı farklı formatlarda yayınlamak için bir kullanıcı arayüzüne sahip ancak küçük radyo düğmesi meta kutusu geliştirilebilir. Tanınmış bir WordPress Geliştiricisi ve eklenti yazarı olan Alex King, CrowdFavorite’daki ekibiyle birlikte buna bir çözüm sağlamak için çalıştı. Kendi projelerine dahil etmek üzere yazı formatları için bir kullanıcı arayüzü geliştirdi ve bu kodu topluluğa yayınlayacak kadar nazikti. Bu makalede, Yazı Biçimleri UI aracını kullanarak WordPress 3.5’te Yazı Biçimleri için UI’yi nasıl ekleyeceğinizi göstereceğiz.

Post Formatları Nedir?

Gönderi biçimi, belirli bir gönderiyi farklı şekilde şekillendirmek için bir yöntem sunar. Bu özelliği kullanarak belirli bir yazının görüntülenme “biçimini” belirleyebilirsiniz. Bu özellik, videolar, bağlantılar, resimler, sesler, alıntılar, durumlar vb. gibi biçimler ekleyerek WordPress’in mikro bloglama yönünü genişletir (Tumblr’a çok benzer).

Yazı biçimleri temanıza bağlıdır, bu nedenle bunları WordPress kontrol panelinizde görebilir veya göremeyebilirsiniz. Bir yazı yazarken bir yazı biçimi seçmek için WordPress tarafından sağlanan varsayılan kullanıcı arayüzü şuna benzer:

Post Formats Radio Button User Interface

Gönderi Biçimleri Kullanıcı Arayüzünü Yükleme

GitHub’daki Post Formats UI projesine gidin. Depodaki dosyaları indirmek için zip düğmesine tıklayın.

Download Post Formats UI plugin from GitHub

WordPress yönetici alanında Eklentiler ” Yeni Ekle ” Yükle kısmına gidin. Dosya seç butonuna basın ve indirmiş olduğunuz zip dosyasını seçin. Şimdi Yük le butonuna basın. Eklenti başarıyla yüklendikten sonra Eklentiyi Etkinleştir bağlantısına tıklayın.

Gönderi Biçimleri Kullanıcı Arayüzü Nasıl Çalışır?

Etkinleştirildikten sonra eklenti, mevcut yazı biçimlerini üstte sekmeler olarak ekleyerek yazı düzenleme alanınızı değiştirir. Artık yazı yazma, alıntı, kenara veya galeri arasında geçiş yapabilirsiniz. Farklı bir yazı biçimi için sekmeye tıklamak, söz konusu yazı biçimi için yazı düzenleme alanının geri kalanını ayarlar. Örneğin, Durum’a tıklandığında Yazı Başlığı alanı gizlenir veya Galeri’ye tıklandığında üstte bir Resim Yükle düğmesi gösterilir.

User Interface for Post Format Quote

User Interface for Post Format Link

Gönderi biçimlerinin genellikle başlangıç seviyesindeki kullanıcılar tarafından göz ardı edildiğini düşünüyoruz çünkü bu biçimler onların görüş alanının dışında kalıyor. Radyo düğmeli bir kutu, onları yazı biçimlerini kullanmaya gerçekten teşvik etmiyor. Güzel bir kullanıcı arayüzü eklemek, kullanıcıları temalarında yazı formatlarının daha iyi desteklenmesini istemeye teşvik edecektir. Geliştiriciler de çeşitli formatları destekleyen temalar oluşturma konusunda kendilerini daha istekli ve motive hissedeceklerdir. Bu nedenle çekirdek ekip bunu WordPress 3.6’ya dahil etmeyi planlıyor. Sizce yazı formatı kullanıcı arayüzü eklemek iyi bir fikir mi? Aşağıdaki yorumlarda bize bildirin.

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

10 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. Jonas Lundman says

    We been using post formats since it arrived. A post with only a single link and some text doesnt need a excerpt when view the category. But other posts in the same category needs the excerpt at not to show the whole content. We Dont need to create a new post-type for layout reason.

    At the same point, a neebe would think a post-template (like page-tamplate) would be a obvious context for this function UI.

    – And we agree.

  3. Elliott richmond says

    I’m hoping that the next upgrade will have better support for post formats without having to use a plugin but, this plugin does look very useful for a better UX!

  4. Dwaynne Villiers says

    As cool as this is, can we see real worl applications? Or at least some sample scripts to point us into how this seemingly powerful feature can be deployed? For example, if I have a post, and all it is is a link or a video, how can I style it accordingly? How can I have an archive/category page with different styles applied to each post format? Example, if post format=video then use style x else if post format = link then use style y.

    Looking forward to more hidden gems form the WP Beginner team. Thanks!

  5. Louis says

    I have been working with WordPress for a couple years and didn’t even realize what those formats were about. I’ve been too busy playing with plugins that made sense to me.

    Having said that, now that you have cleared some of the haze about these fomats, I can stop looking for other plugins that do what this one does.. lol

    I think it would be a good idea to make those formats more obvious for people. That might help others avoid having to figure out how to make custom post types when these types of formats are already there.

    WordPress can be quite difficult to fully understand sometimes. There isn’t really a manual of any substance offered by WP Dev.’s (aside from the website pages that sometimes can’t even be found for lack of knowing exactly what to search for), so helpful tips like those you offer on this site are quite valuable, thanks for this and the many other enlightening topics and explanations you have included here.

  6. Bernie says

    Thanks for the article on post formats. I have heard the term but not really been sure what its all about. I am using one of the default WP themes 2011 and I can see the format radio buttons as you describe. However I can t for the life of me see what difference this makes.

    I did investigate the plugin mentioned but it hasn’t been updated in over 400 days and not rated compatible with WP 3.5. I would like to see the effect this formatting has on a post.

    • Louis says

      Hi Bernie,

      If you followed the link provided, the github project was updated 2 months ago for compatibility with WP 3.5.

  7. Donna says

    I think it’s a great idea. I’m pretty wp-savvy, and I even forget they exist most of the time. That would be a welcome change.

    Know what I would welcome even more? Page and post-specific widgets. There are plugins to handle this, but I haven’t found any that aren’t kinda kludgy or that don’t get to be way to difficult with a site with lots of pages.

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.