WordPress.org

Ready to get started?Download WordPress

Forums

Different Sidebar Content for each Author (4 posts)

  1. spacebrew
    Member
    Posted 3 years ago #

    I know the title makes it sound simple - and technically, I bet it really is. But I cannot for the life of me figure out how to do this. My site has two writers. I have a twitter account, my partner does not. Therefore, I want the sidebar on my single posts to display my latest tweet. But not on hers.

    I tried things like "if author_id(4)" and whatnot, but couldn't get it to work. Any help would be appreciated.

    I typically know my way around it pretty well - I built my entire theme from scratch. You can come check it out here: http://spacebrew.com. But I can't figure this out and it's driving me crazy. Thanks!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. spacebrew
    Member
    Posted 3 years ago #

    Thanks Esmi - but that's if it's a page. I'm talking about the sidebar.php template just for my singles.

  4. Trym
    Member
    Posted 3 years ago #

    did you find it? i need it aswell!:)

Topic Closed

This topic has been closed to new replies.

About this Topic