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
diddledan opened this issue Nov 24, 2015 · 26 comments
Closed

Posts: support custom post types #588

diddledan opened this issue Nov 24, 2015 · 26 comments

Comments

@diddledan
Copy link

@diddledan diddledan commented Nov 24, 2015

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
@chuckreynolds
Copy link

@chuckreynolds chuckreynolds commented Nov 24, 2015

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

@amandarush
Copy link

@amandarush amandarush commented Nov 24, 2015

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

@aidanlane aidanlane commented Nov 24, 2015

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

@abdusfauzi
Copy link

@abdusfauzi abdusfauzi commented Nov 25, 2015

+1

@johndnixon
Copy link

@johndnixon johndnixon commented Dec 2, 2015

+1

@jeherve
Copy link
Member

@jeherve jeherve commented Dec 7, 2015

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

@ntpixels
Copy link

@ntpixels ntpixels commented Jan 18, 2016

Also requested in 2493190-t

@ReessKennedy
Copy link

@ReessKennedy ReessKennedy commented Jan 26, 2016

+1

1 similar comment
@rveitch
Copy link

@rveitch rveitch commented Jan 30, 2016

+1

@Asitis
Copy link

@Asitis Asitis commented Feb 24, 2016

+1

2 similar comments
@rubenlangius
Copy link

@rubenlangius rubenlangius commented Feb 26, 2016

+1

@dre1080
Copy link

@dre1080 dre1080 commented Mar 4, 2016

+1

@alexclst
Copy link

@alexclst alexclst commented Mar 21, 2016

+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

@andrewvorobyov andrewvorobyov commented Mar 31, 2016

+1

2 similar comments
@igolden
Copy link

@igolden igolden commented Jul 6, 2016

+1

@zachskaggs
Copy link

@zachskaggs zachskaggs commented Jul 19, 2016

+1

@moisb
Copy link

@moisb moisb commented Jul 20, 2016

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

@codebykat
Copy link
Member

@codebykat codebykat commented Aug 11, 2016

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 moisb commented Aug 12, 2016

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

@aduth aduth closed this in #7384 Aug 15, 2016
@aduth
Copy link
Contributor

@aduth 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

@aidanlane aidanlane commented Aug 15, 2016

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

@alexclst
Copy link

@alexclst alexclst commented Aug 22, 2016

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

@codebykat codebykat commented Aug 22, 2016

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

@sarahdenise sarahdenise commented Oct 2, 2018

+1

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

Successfully merging a pull request may close this issue.

None yet