Title: Query_posts for author
Last modified: August 19, 2016

---

# Query_posts for author

 *  [dmak](https://wordpress.org/support/users/dmak/)
 * (@dmak)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-for-author/)
 * I want to make a side by side blog, similar to this one : [http://otoh.org/xwiki/bin/view/Main/WebHome](http://otoh.org/xwiki/bin/view/Main/WebHome)
 * How do I show posts by author?
    How do I show categories for the author only?
   How can I make the Single.php page look different if it’s only a certain author?
   Since it’s a side by side blog, is there a way to make 1 side of the blog change
   pages if someone clicked “next page” and not change pages for the other side?
   I think it would need ajax, but can someone give me a hand?
 * Any suggestions for this would be appreciated. Thanks in advance!

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

 *  Thread Starter [dmak](https://wordpress.org/support/users/dmak/)
 * (@dmak)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-for-author/#post-1044322)
 * Also, is there a way to make a certain author automatically post to the category
   made for him/her?
 *  [Maxaud](https://wordpress.org/support/users/maxaud/)
 * (@maxaud)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-for-author/#post-1044351)
 * Please try searching the site before posting:
 * Look at template tags:
    [http://codex.wordpress.org/Template_Tags/](http://codex.wordpress.org/Template_Tags/)
 * posts by author:
    query_posts(‘author=1&order=ASC’);
 * posts by author and category 1, 2 & 3:
    query_posts(‘author=1&cat=1,2,3’);
 * as for making single.php looking different per author, try looking at:
    [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 * As for a side by side blog, I don’t know what you’re talking about. That blog
   looks like any ther blog to me, it has one verticle list of posts (in IE7)
 * For making authors posting to certain categories, try looking at various role
   management plugins and author category assignment plugins

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

The topic ‘Query_posts for author’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Maxaud](https://wordpress.org/support/users/maxaud/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/query_posts-for-author/#post-1044351)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
