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!
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 :).
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! 🙂
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
That’s great to hear mikeei! 🙂
Thanks for using my plugin, I hope you enjoy your weekend 😀