go41

Re: Static Title for Featured :: Reply by master

von Joern am 27. Jul. 2010 | Keine Kommentare

you have to duplicate the query and loop of your current featured category section.

Displaying one latest post of four categories you need actually four loops.

In each loop you set the category you want to display and set the number of posts to one.

this php the_title you removed just shows the title of each post.

You could use <?php the_category() ?> instead, this will list the categories of the post and link it to a category view.
____________________
you find me on Google+, Twitter and Facebook

(von: master)

Hier noch 1 weitere Ergebnisse dieses Threads:

Static Title for Featured

27. Jul. 2010 (von: Hanscrafter)

My boss has decided that she wants the Featured section to be changed to different categories (Faculty, Students, Community) and wants those words to appear instead of the post's actual title. Is there an easy way to do this? When…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: