would like to run a query based on the author_name but I don’t want to hard code the author_name
query_posts(‘author_name=Harriet’);
how to I modify the query so it grabs the variable from the url?
https://mysite.com/wp/author/bob = query_posts(‘author_name=bob’);
https://mysite.com/wp/author/sam = query_posts(‘author_name=sam’);