# What post types will the Swiftype WordPress plugin index?

**URL:** <https://community.swiftype.com/t/what-post-types-will-the-swiftype-wordpress-plugin-index/96>\
**Category:** WordPress\
**Created:** [December 21, 2015, 11:45pm UTC](https://community.swiftype.com/t/what-post-types-will-the-swiftype-wordpress-plugin-index/96 "2015-12-21T23:45:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/swiftype/original/1X/fd652d1735c60057fa71c371375511028f9a1832.png) [@system](https://community.swiftype.com/u/system)\
**Post date:** [December 21, 2015, 11:45pm UTC](https://community.swiftype.com/t/what-post-types-will-the-swiftype-wordpress-plugin-index/96/1 "2015-12-21T23:45:30Z")

</div>

The Swiftype WordPress plugin will index all registered post types that are not excluded from search.

Typically, this means they have been [registered](http://codex.wordpress.org/Function_Reference/register_post_type) with the **`public`** flag set to **`true`** (as this is a shortcut for **`exclude_from_search`** being set to **`false`** ) but it is possible to register a private post type that is included in search. See **[`get_post_types`](http://codex.wordpress.org/Function_Reference/get_post_types)** for details.

The default WordPress post types that are public are **`page`** , **`post`** , and **`attachment`**.

Additionally, an individual post must have a **`post_status`** of **`publish`** to be indexed. Attachments have a **`post_status`** of **`inherit`** and so are not indexed even though they are public.
