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

Comments

Projects
None yet
@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 from Posts: Custom post types support to Posts: Support custom post types Nov 24, 2015

@chuckreynolds

This comment has been minimized.

chuckreynolds commented Nov 24, 2015

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

@amandarush

This comment has been minimized.

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

This comment has been minimized.

aidanlane commented Nov 24, 2015

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

@abdusfauzi

This comment has been minimized.

abdusfauzi commented Nov 25, 2015

+1

@johndnixon

This comment has been minimized.

johndnixon commented Dec 2, 2015

+1

@lancewillett lancewillett changed the title from Posts: Support custom post types to Posts: support custom post types Dec 4, 2015

@jeherve

This comment has been minimized.

Member

jeherve commented Dec 7, 2015

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

@macmanx2

This comment has been minimized.

@ntpixels

This comment has been minimized.

ntpixels commented Jan 18, 2016

Also requested in 2493190-t

@ReessKennedy

This comment has been minimized.

ReessKennedy commented Jan 26, 2016

+1

1 similar comment
@rveitch

This comment has been minimized.

rveitch commented Jan 30, 2016

+1

@Asitis

This comment has been minimized.

Asitis commented Feb 24, 2016

+1

2 similar comments
@rubenlangius

This comment has been minimized.

rubenlangius commented Feb 26, 2016

+1

@dre1080

This comment has been minimized.

dre1080 commented Mar 4, 2016

+1

@alexclst

This comment has been minimized.

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

This comment has been minimized.

andrewvorobyov commented Mar 31, 2016

+1

2 similar comments
@igolden

This comment has been minimized.

igolden commented Jul 6, 2016

+1

@wpnzach

This comment has been minimized.

wpnzach commented Jul 19, 2016

+1

@moisb

This comment has been minimized.

moisb commented Jul 20, 2016

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

@codebykat

This comment has been minimized.

Member

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

This comment has been minimized.

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

This comment has been minimized.

Member

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

This comment has been minimized.

aidanlane commented Aug 15, 2016

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

@alexclst

This comment has been minimized.

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

This comment has been minimized.

Member

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

This comment has been minimized.

sarahdenise commented Oct 2, 2018

+1

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