Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posts: support custom post types #588

Closed
lucyllewy opened this issue Nov 24, 2015 · 26 comments
Closed

Posts: support custom post types #588

lucyllewy opened this issue Nov 24, 2015 · 26 comments

Comments

@lucyllewy
Copy link

Currently the CPT support in Calypso seems to be link-only which opens a browser to the site's wp-admin. Ideally the Calypso UI should be able to interact with CPTs directly.

See also #587

@lancewillett lancewillett changed the title Posts: Custom post types support Posts: Support custom post types Nov 24, 2015
@lancewillett lancewillett added [Feature] Post/Page Editor The editor for editing posts and pages. Posts [Type] Enhancement labels Nov 24, 2015
@chuckreynolds
Copy link

yeah... unfortunately that's a deal breaker. Looking forward to this in future release. 👍

@amandarush
Copy link

Post types also do not seem to be supported when using the editor from wordpress.com, at least with a screen reader. Looking forward to this becoming a feature as one of my sites is pretty dependent on CPTs.

@aidanlane
Copy link

+1 for this, as CPT support is incredibly important for us.

@abdusfauzi
Copy link

+1

@jeherve
Copy link
Member

jeherve commented Nov 26, 2015

@johndnixon
Copy link

+1

@jeherve
Copy link
Member

jeherve commented Dec 7, 2015

Also suggested here:
http://halfelf.org/2015/calypso/

@macmanx2
Copy link

@ntpixels
Copy link

Also requested in 2493190-t

@ReessKennedy
Copy link

+1

1 similar comment
@rveitch
Copy link

rveitch commented Jan 30, 2016

+1

@Asitis
Copy link

Asitis commented Feb 24, 2016

+1

2 similar comments
@rubenlangius
Copy link

+1

@dre1080
Copy link

dre1080 commented Mar 4, 2016

+1

@alexclst
Copy link

+1. I'm a technology consultant helping run a number of WP sites, one of which is extremely dependent on CPTs. I love using Calypso for most of my WP content editing these days, and truly miss it on that one site. Please add this feature.

@andrewvorobyov
Copy link

+1

2 similar comments
@igolden
Copy link

igolden commented Jul 6, 2016

+1

@zachskaggs
Copy link

+1

@moisb
Copy link

moisb commented Jul 20, 2016

That would be wonderful! Including option to edit/add custom fields!

@codebykat
Copy link
Member

Support for custom post types is launching soon! There's a call for testing over on our Horizon site: https://horizonfeedback.wordpress.com/2016/08/10/call-for-testing-custom-content-types-in-calypso/

If anyone here would like to take it for a spin, we'd love to hear how it works for you. :)

@moisb
Copy link

moisb commented Aug 12, 2016

Hello Kat. This is great news. Thank you very much!

@aduth
Copy link
Contributor

aduth commented Aug 15, 2016

Hi folks, as a follow-on to @codebykat's previous comment, we've now enabled custom post type support for all users in production environments.

As described in the Call for Testing caveats, if you're using Calypso for your own self-hosted site running Jetpack, you will need to whitelist any post types you'd like to manage in Calypso. This is a consequence of privacy considerations we had made in requiring site owners to opt in to their site's custom post types being made available from the WordPress.com REST API. For more information about the REST API and custom post types, refer to our original developer site announcement post.

You can enable support by adding a filter like the following to your theme's theme's functions.php, or the plugin enabling the custom post type:

function mytheme_restapi_allowed_types( $types ) {
    $types[] = 'my-custom-type'; // Replace with name of CPT
    return $types;
}
add_filter( 'rest_api_allowed_post_types', 'mytheme_restapi_allowed_types' );

It is not currently possible to enable or disable Portfolio or Testimonial custom content types for Jetpack sites in Calypso (part of the "Custom Content Types" module). We will enable these shortly after the release of Jetpack 4.2.

@aidanlane
Copy link

Now looking forward to #587, which will go quite nicely with this 😃

@alexclst
Copy link

Aside from looking forward to #587 I'm also looking forward to whenever the WP iOS app gets updated to support CPT editing. I see the WordPress.com website showing the post types' content editable, but on my phone it doesn't even list the custom post types yet. I hope an update is planned to enable this as it is one of the major reasons to have the post types be exposed to the REST API.

@codebykat
Copy link
Member

CPT editing in the apps is tracked in their own repos. Please do follow along and/or +1 those issues. :)

Android: wordpress-mobile/WordPress-Editor-Android#114
iOS: wordpress-mobile/WordPress-iOS#500

@sarahdenise
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests