Title: Hide posts based on author
Last modified: August 20, 2016

---

# Hide posts based on author

 *  [HW2012](https://wordpress.org/support/users/hw2012/)
 * (@hw2012)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hide-posts-based-on-author/)
 * Hi, I’m trying to hide posts that are of a certain author. I have tried some 
   methods like !is_author(‘name’) and the_author_posts_link() != ‘Name’. I have
   placed it in the while (have_posts()) section, but am still having problems with
   it. Could someone show me the correct way to do it please? Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [HW2012](https://wordpress.org/support/users/hw2012/)
 * (@hw2012)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/hide-posts-based-on-author/#post-3345316)
 * I have used query_posts() to get this working. I am just stuck with one problem
   that I’m wondering about. If it’s possible for the query_posts() to only start
   applying after the loop has gone through the posts once? I have a latest post
   that has to show, and then after that any posts by a specific author. Hopes this
   makes sense.

Viewing 1 replies (of 1 total)

The topic ‘Hide posts based on author’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [HW2012](https://wordpress.org/support/users/hw2012/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/hide-posts-based-on-author/#post-3345316)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
