• Resolved RobJustice777

    (@robjustice777)


    Can you update your register_post_type function to include publicize in your supports array?

    ‘supports’ => array( ‘title’, ‘editor’, ‘excerpt’, ‘thumbnail’, ‘page-attributes’, ‘comments’, ‘author’, ‘custom-fields’, ‘publicize’ ),

    I know Jetpack isn’t core WordPress but is such a common plugin that I don’t think it would hurt to add a modicum of support for it.

    https://ww.wp.xz.cn/plugins/seriously-simple-podcasting/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Yeah – I’ll add that in in the next release, but in the mean time you should be able to do this by using the add_post_type_support function:

    add_post_type_support( 'podcast', 'publicize' );

    +1 for adding publicize support to the plugin.

    Thread Starter RobJustice777

    (@robjustice777)

    I’d still love to see this happen. It’s such a simple change but it’s a hassle for me to make it every time the plugin updates.

    In:

    seriously-simple-podcasting/includes/class-ssp-admin.php

    Replace:

    ‘supports’ => array( ‘title’, ‘editor’, ‘excerpt’, ‘thumbnail’, ‘page-attributes’, ‘comments’, ‘author’, ‘custom-fields’),

    With:

    ‘supports’ => array( ‘title’, ‘editor’, ‘excerpt’, ‘thumbnail’, ‘page-attributes’, ‘comments’, ‘author’, ‘custom-fields’, ‘publicize’ ),

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    My apologies – I added this in, but must have mistakenly removed it in a later update. I’ll make sure that this is definitely in the next release of the plugin.

    That being said, adding the line of code that I mentioned above will add publicize support without you having to edit the plugin itself:

    add_post_type_support( 'podcast', 'publicize' );

    Just add that to your theme’s functions.php file and it will always work 🙂

    If this has helped you then please consider supporting continued development by leaving a review.

    Cheers,
    Hugh

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Just to let you know that I have just published v1.8.10 of SSP that includes support for Jetpack’s Publicize feature for the podcast post type.

    Cheers,
    Hugh

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

The topic ‘Add Publicize Support’ is closed to new replies.