Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Plan9,

    The Custom Post Type requires both the Editor (content) and the Title input support to have an Inpost SEO Metabox. Please see if you can add support for those on your main CPT.

    I hope this helps!

    Thread Starter George M

    (@plan9)

    Hi

    Thanks for your reply. The custom post types were supplied by my theme, I don’t know how to edit them. I was using WordPress SEO and that recognised all of the custom content types. All In One SEO also recognises them but gives a series of checkboxes to enable / disable as required.

    I’m using ParkCollege theme and the problem post type is called ‘course’ – you can see an example of it here on the theme demo site https://themes.quitenicestuff.com/parkcollegewp/course/ba-fashion-marketing/

    Thanks

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Plan9,

    It’s quite difficult to determine whether the post type can support the Inpost box — this was because of a memory leak. This memory leak was caused by the dynamic description generation, where it couldn’t determine its content and title (i.e. the reason for Title and Editor is to be supported).

    However, I believe this memory leak has already been resolved in the next version, and I think I can make everything ready for it as well.

    But, I’m unsure if this will work as intended. So some testing has to be done.

    I’ll keep you posted on its progression, I think can slide this in the next version (2.6.0), which is actually already in beta.

    Until then, have a great day :)!

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Plan9,

    I confirmed that there’s no more memory leak.

    You can safely use the following filter to add the SEO Meta box on every public post type:

    add_filter( 'the_seo_framework_custom_post_type_support', '__return_empty_array' );

    That will also add the Custom Post Types to the sitemap, and of course The SEO Bar.

    If you need help using filters, please refer to this tutorial.

    Thanks and have a great day! ??

    Thread Starter George M

    (@plan9)

    Great. Thank you.

    Actually, the filter that was posted appears to add the meta boxes to places it should not in addition to those that it should. For example media. There should be some type of admin to allow specifying what post types should have them.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Post Types’ is closed to new replies.