Title: Exclude post type &quot;link&quot; from index.php / loop
Last modified: August 21, 2016

---

# Exclude post type "link" from index.php / loop

 *  [Lars-Christian](https://wordpress.org/support/users/larscsim/)
 * (@larscsim)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/exclude-post-type-link-from-indexphp-loop/)
 * Hi,
 * I am trying to to figure out how to achieve this. It’s a standard install of 
   the latest WP version, and I do not have any custom post types or similar. All
   standard.
 * What I want to do is exclude the “link” post type from my index.php, so that 
   it doesn’t show up in the list of posts on the front page.
 * I only care about the blog standard front page, it doesn’t matter if the posts
   of type link are excluded from the archive pages or search.
 * Can anyone give me an idea of the easiest way to achieve this? A plugin would
   be fine, but I can’t seem to find one.

The topic ‘Exclude post type "link" from index.php / loop’ is closed to new replies.

## Tags

 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [front page](https://wordpress.org/support/topic-tag/front-page/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [post-type](https://wordpress.org/support/topic-tag/post-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Lars-Christian](https://wordpress.org/support/users/larscsim/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/exclude-post-type-link-from-indexphp-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
