go41

Add custom text to specific category posts

von Joern am 2. Mrz. 2010 | Keine Kommentare

I think I’ve seen this elsewhere before but I want to add a block of text to every post that falls in our "blog" category (http://www.iamstaggered.com/category/blogs) explaining how to follow/subscribe to a particular writer if readers want to.
Is there an easy way of doing it?
Cheers,
Andrew.

(von: drwhom)

Hier noch 2 weitere Ergebnisse dieses Threads:

Re: Add custom text to specific category posts :: Reply by Joern

2. Mrz. 2010 (von: Joern)

If you use just one single.php for all singles and you want to display something on a single view only in one category, use the condition 'in_category()', this tests if the current post is assigned to any of the specified…

Re: Add custom text to specific category posts :: Reply by drwhom

8. Mrz. 2010 (von: drwhom)

Thanks ever so much again Joern! Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: