Cannot get Jetpack Publicize support to show in Pods item
-
Since Jetpack’s Publicize option now supports Custom Post Types, as announced here, and testified as working here, I went into Pods Admin > Edit Pods > Advanced Options, and enabled support for “Jetpack Publicize Support.”
What I expected was to see publicize options shown on a new Pods item of that type, like this:
https://www.webmatros.com/wp-content/uploads/2014/03/Screen-Shot-2014-03-02-at-16.52.31.png
However, the publicize options were not shown.
The 2nd post article I linked to above (1st paragraph) assumes a CPT was created manually by code, and says the publicize options can be obtained in this way:
Simply add publicize to the “supports” array of your custom post type, in the functions.php file, found in your theme folder (provided you’ve created your custom post type there).
Like this:
‘supports’ => array ( ‘title’, ‘editor’, ‘excerpt’, ‘publicize’, ‘thumbnail’, ‘comments’, ‘revisions’, ‘custom-fields’, ‘page-attributes’, ),
One commenter on the article said the following:
If you want Publicize to work with a custom post type that is being set by a plugin then you can use this code in your functions.php file to add the support for that post type:
add_action(‘init’, ‘my_custom_init’); function my_custom_init() { add_post_type_support( ‘custom_post_type’, ‘publicize’ ); }
However, since the “supports” option in Pods Admin shows “Jetpack Publicize Support” as one of the options, I’m thinking the above code options are not / should not be needed.
Can anyone comment on this?
Does a CPT need some certain other options checked in Advanced Options in order to show Jetpack Publicize as functional?
- The topic ‘Cannot get Jetpack Publicize support to show in Pods item’ is closed to new replies.