Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you try to add the following to your theme’s functions.php file, or to a functionality plugin, and let me know if it helps?

    function jeherve_shortlinks_support_leadershiplesson() {
    	add_post_type_support( 'leadershiplesson', 'shortlinks' );
    }
    add_action( 'init', 'jeherve_shortlinks_support_leadershiplesson' );
    Thread Starter dpbraun

    (@dpbraun)

    Jeremy, that worked perfect!

    I know this is specific to my particular CPT, is there a way to make it generic, or will I need to add something like this for each CPT?

    Dave

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    You’ll need to add something like this for each one of your Custom Post Types, as CPTs don’t support shortlinks by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack Sharing issue with custom post type when plugin activated’ is closed to new replies.