WordPress.org

Support

Support » Themes and Templates » [Resolved] author.php query question

[Resolved] author.php query question

  • I am creating an author.php template

    I would like to run a query based on the author_name but I don’t want to hard code the author_name

    how to I modify this so it grabs the variable from the query string?
    query_posts(‘author_name=Harriet’);

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] author.php query question’ is closed to new replies.
Skip to toolbar