Title: CPT support
Last modified: August 30, 2016

---

# CPT support

 *  Resolved [mikhmich](https://wordpress.org/support/users/mikeei/)
 * (@mikeei)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/)
 * Hi Sybre,
 * First of all, your plugin is looking super promising!
 * I installed it on a dev site. Everything is great, except for CPT. I tried Jetpack
   Portfolio and Custom Content Portfolio. It worked for Woocommerce.
 * Is there anything needs to be added to theme’s functions or it’s not supported
   yet, or planned for premium version, or I just can’t find a checkbox?
 * Thanks
 * [https://wordpress.org/plugins/autodescription/](https://wordpress.org/plugins/autodescription/)

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

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812587)
 * Hi mikeei,
 * Glad to see everything’s working 🙂
 * You can’t find a checkbox because it’s actually automated, plus manually applied
   through a filter.
 * The reason those custom post types aren’t supported is because they don’t support“
   Custom Fields”. This causes a memory leak with bbPress’ replies and needs manual
   testing for each and every CPT until I find the exact cause.
 * The filter is as follows, please note I haven’t tested it to a full extend:
 *     ```
       add_filter( 'the_seo_framework_supported_post_types', 'my_seo_cpt_support' );
       function my_seo_cpt_support( $args = array() ) {
   
       	$args[] = 'jetpack-portfolio';
       	$args[] = 'jetpack-testimonial';
   
       	return $args;
       }
       ```
   
 * You can find the current screens with the following one-liner, this will output
   a lovely box with the current screens on the far right of the admin footer. The
   final line if probably the one you’re looking for:
 *     ```
       add_action( 'admin_footer', function() { global $current_screen; ?><div style="float:right;margin:3em;padding:1em;border:1px solid;background:#fff;color:#000;"><?php foreach( $current_screen as $screen ) echo "<p>$screen</p>"; ?></div><?php } );
       ```
   
 * Luckily, Jetpack features don’t cause a memory leak for as far as I’ve seen and
   I will gradually manually support those in the future updates. Within The SEO
   Framework 2.4.1 I’ve added the post types named above within the example filter.
 * Could you name the exact modules you are using? This will speed up my find-and-
   seek process and will cover everything you’re using within 2.4.1 🙂
 * Thanks and have a great day!
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812638)
 * Hi mikeei,
 * I’ve resolved the memory leak. A lot more testing is to be done, but it seems
   that all CPT will automatically be supported in the next update :).
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812695)
 * Hi mikeei,
 * Everything should work as expected within The SEO Framework 2.4.1, which has 
   just been released. Jetpack Custom Content Types has been fully supported, including
   Infinite Scroll and Photon!
 * I’m marking this topic as resolved. If you still however encounter any issues
   regarding this subject, please re-open and/or reply to this topic and I’ll be
   sure to help you out!
 * Thanks and have a great weekend! 🙂
 *  Thread Starter [mikhmich](https://wordpress.org/support/users/mikeei/)
 * (@mikeei)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812699)
 * Thank you Sybre! I’m late, but)
 * Your code worked well. After update, it started to work automatically. I checked
   it with
    Jetpack Portfolio Custom Content Portfolio by Justin Tudlock Portfolio
   in Themify theme
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812707)
 * That’s great to hear mikeei! 🙂
 * Thanks for using my plugin, I hope you enjoy your weekend 😀

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

The topic ‘CPT support’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)

 * 5 replies
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/cpt-support-2/#post-6812707)
 * Status: resolved