syndication icon indicating copy to clipboard operation
syndication copied to clipboard

Make the Post Type filter optional

Open marcusquinn opened this issue 7 years ago • 2 comments

We've disabled the following to enable usage for Custom Post Types:

public function display_post_types_selection() {
    // @TODO add more suitable filters
    $post_types = get_post_types( array( 'public' => true ) );

Any chance you can make this an option please? Perhaps with a disclaimer that not all CPTs may work if they use custom tables if you're concerned about that.

marcusquinn avatar Oct 30 '17 16:10 marcusquinn

Hi!

We've disabled the following to enable usage for Custom Post Types:

How have you disabled exactly? Also, I'm curious what was happening before? Were CPTs not showing for you? This code should result in any public post types being visible, including CPTs.

not all CPTs may work if they use custom tables

Could you elaborate on this bit please? Is something not working for you in Syndication that means you've had to disable this?

Thanks

philipjohn avatar Nov 21 '17 08:11 philipjohn

Aloha!

Sure - before the patch a bunch of Post Types we'd like to syndicate were missing from here:

/wp-admin/edit.php?post_type=syn_site&page=push-syndicate-settings

this is them now showing :) :

image

marcusquinn avatar Feb 20 '18 19:02 marcusquinn