go41

Customize the sidebar, depending on author

von Joern am 8. Jul. 2010 | Keine Kommentare

Hi all
So here is my situation.
I have author.php, which shows a list of latest posts from that author. On the top right hand corner, I then have information about the author (Biog, Name etc).
Underneath that, I want to display posts from a different category. BUT – the category changes depending on the author.
How can I go about setting that up?
Many thanks for your help/advice.
Adam

(von: adamwork)

Hier noch 2 weitere Ergebnisse dieses Threads:

Re: Customize the sidebar, depending on author :: Reply by master

8. Jul. 2010 (von: master)

I guess you query for a certain category and want to show posts of the current author only?Let's say you query for a category like this:query_posts('cat=4');to get this query display only posts of the author you just show, you can…

Re: Customize the sidebar, depending on author :: Reply by adamwork

8. Jul. 2010 (von: adamwork)

Hi masteradminThe main page already shows the post of the author. I want to display posts from a different category in the sidebar. The category in the sidebar will be different, depending on the author.Thanksadam Weiterlesen →

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: