Title: Doesn&#039;t pull custom post types?
Last modified: August 31, 2016

---

# Doesn't pull custom post types?

 *  Resolved [thePixelPixie](https://wordpress.org/support/users/yourbusybee/)
 * (@yourbusybee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/)
 * I’m trying to use the shortcode to pull a specific custom post type (type=”home_plans”),
   but it says it can’t find any posts, when I know there are 2 right now.
 * [https://wordpress.org/plugins/rest-api-post-embeds/](https://wordpress.org/plugins/rest-api-post-embeds/)

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

 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148198)
 * Could you let me know your site URL, so I can take a closer look?
 * Thanks!
 *  Thread Starter [thePixelPixie](https://wordpress.org/support/users/yourbusybee/)
 * (@yourbusybee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148259)
 * It’s a development site right now. I’d rather not post the link publicly. Could
   I email it to you?
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148260)
 * Sure thing:
    [https://jeremy.hu/contact/](https://jeremy.hu/contact/)
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148287)
 * I got your emails. Since you’re trying to get the posts from the WordPress.com
   REST API, could you try whitelisting your custom Post Type like so:
 *     ```
       function allow_my_post_types($allowed_post_types) {
           $allowed_post_types[] = 'speight_home_plans';
           return $allowed_post_types;
       }
       add_filter( 'rest_api_allowed_post_types', 'allow_my_post_types' );
       ```
   
 * Let me know how it goes.
 *  Thread Starter [thePixelPixie](https://wordpress.org/support/users/yourbusybee/)
 * (@yourbusybee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148289)
 * I was looking for a response in my email, so I’m glad I thought to com back here
   just now 🙂 I will try that right now…
 *  Thread Starter [thePixelPixie](https://wordpress.org/support/users/yourbusybee/)
 * (@yourbusybee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148290)
 * Alas, no luck. I *really* need to get this working today so the client can see
   progress.
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148291)
 * Could you try to click on the “Reindex” button that appears at the bottom of 
   Jetpack’s Debug page? You can get to that page thanks to the “Debug” link appearing
   at the bottom of the Jetpack menu.
 *  Thread Starter [thePixelPixie](https://wordpress.org/support/users/yourbusybee/)
 * (@yourbusybee)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148292)
 * It didn’t help 🙁
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148293)
 * I just released an update to the plugin, that should solve the problem for you
   You can update to 1.3.2 as soon as the new version is available in your dashboard.
 * Let me know how it goes.

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

The topic ‘Doesn't pull custom post types?’ is closed to new replies.

 * ![](https://ps.w.org/rest-api-post-embeds/assets/icon.svg?rev=2495828)
 * [REST API Post Embeds](https://wordpress.org/plugins/rest-api-post-embeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api-post-embeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api-post-embeds/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api-post-embeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api-post-embeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api-post-embeds/reviews/)

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)

 * 9 replies
 * 2 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/doesnt-pull-custom-post-types/#post-7148293)
 * Status: resolved