Title: Custom post type
Last modified: August 31, 2016

---

# Custom post type

 *  [afronoia](https://wordpress.org/support/users/afronoia/)
 * (@afronoia)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/)
 * Hi,
    Is there any chance that this plugin will support custom post types? Thanks.
 * [https://wordpress.org/plugins/wp-seo-structured-data-schema/](https://wordpress.org/plugins/wp-seo-structured-data-schema/)

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

 *  Plugin Author [kcseopro](https://wordpress.org/support/users/kcseopro/)
 * (@kcseopro)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078657)
 * Hello,
 * Yes in next version will add this features.
 * Thanks
 *  [Watch Teller](https://wordpress.org/support/users/watchteller/)
 * (@watchteller)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078690)
 * Wow…. Yes…. Thousand Thanks.
 * I need to integrate WooCommerce. But my **WISHLIST** is to add **more than** 
   one photo and need **with** images sizes (width x Height) for product and blog
   post.
 *  [duroe5698](https://wordpress.org/support/users/duroe5698/)
 * (@duroe5698)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078777)
 * Hey any idea on a time-frame for the custom post type addition? I too have a 
   site that uses a custom post type that could benefit from rich snippets. Thanks!
 *  [swcoinco](https://wordpress.org/support/users/swcoinco/)
 * (@swcoinco)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078799)
 * **Love this plugin…**
    However, could use the added functionality of using the
   plugin with custom post types, as soon as, _a few months ago_.
 * Any quick fix to get this working now prior to the next update?
 *  [swcoinco](https://wordpress.org/support/users/swcoinco/)
 * (@swcoinco)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078800)
 * I found a solution:
    In “wp-seo-structured-data-schema/lib/classes/KcSeoMetaData.
   php” Line 10: `$this->postType = get_post_types();` Replace with: `$postType 
   = get_post_types();`
 * And on line 19:
    `foreach($this->postType as $postType){` Replace with: `foreach(
   get_post_types( '', 'names' ) as $postType){`
 * Thanks again Phil for a great plugin!
 *  [sushant0077](https://wordpress.org/support/users/sushant0077/)
 * (@sushant0077)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078826)
 * Here is the solution .
 * Go to wp-seo-structured-data-schema/lib/classes/KcSeoHelper.php
 * Open this file and search for **kcSeoPostTypes()** function.
 * you will see something like this.
 * $post_types = get_post_types(
    array( ‘_builtin’ => true ) ); change it to.
 * $post_types = get_post_types();
 * Thanks Phil for such awesome plugin!
 *  Plugin Author [kcseopro](https://wordpress.org/support/users/kcseopro/)
 * (@kcseopro)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078828)
 * Thanks for using our plugin, currently you can use by this way.
    For the next
   version we will update plugin for custom post type with fully functional.

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

The topic ‘Custom post type’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-seo-structured-data-schema_7889a1.
   svg)
 * [WP SEO Structured Data Schema](https://wordpress.org/plugins/wp-seo-structured-data-schema/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-seo-structured-data-schema/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-seo-structured-data-schema/reviews/)

 * 7 replies
 * 6 participants
 * Last reply from: [kcseopro](https://wordpress.org/support/users/kcseopro/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/custom-post-type-129/#post-7078828)
 * Status: not resolved