Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Add Author's Archives Link to User-Profile.php?


  • mchelles
    Participant

    @mchelles

    I created a user-profile.php file in my theme so I could customize its appearance. I want to add a link to the author’s blog posts, but am getting stuck on the loop part. When I tried the standard default wordpress loop – it looped the entire profile itself.

    Here is the code I am working with:

    http://pastebin.com/LAnd9hRn

    With the current code, I get a 404 not found error.

    Thanks in advance for any suggestions or ideas you might have to try!

Viewing 2 replies - 1 through 2 (of 2 total)

  • Lynq
    Participant

    @lynq

    Do you still get a 404 using this code: http://pastebin.com/i6g8VCE4


    mchelles
    Participant

    @mchelles

    No if I use that code, no 404. To clarify, the 404 is when you click on the “View Posts” Link, not the profile page itself. I think I need a loop to call the author ID, which is where I am getting stuck.

    Thanks for any ideas you may have!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.