Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Custom Post Types and Customizer panels not available on local install of Jetpack #373
Hello, just did two clean installs of WPDistillery and enabled Jetpack in Development Mode (so no connection to Wordpress.com). I then enabled the two built in custom post types (CPTs) in Jetpack (Portfolio and Testimonials). Activation appears to work okay, but the post types do not appear in the Admin screen, or in Settings > Writing. I am using Independent Publisher 2 theme (which adds the Content Options panel to Customizer).
No idea if the issue is with WPDistillery, Scotchbox, or Jetpack, but opening a low priority issue to do some testing and to ask if anyone else can replicate this issue.
The issue is not related to my custom theme. I switched to a different theme (Argent), which is listed to be compatible with Jetpack Portfolios, and encountered the same issue.
Other custom post types are allowed. I installed the CPT UI plugin and created my own dummy custom post type through Wordpress admin. It displays correctly in the admin bar after creation.
I manually copied the register_custom_post_type() function for the jetpack-portfolio custom post type from Jetpack and ran it manually in my functions.php. The Portfolio post type did appear in the admin bar.
The good news is that I installed (VCCW)[http://vccw.cc/], which is another pre-configured Wordpress dev environment for Vagrant, installed Jetpack, and enabled Portfolios custom post type. Portfolio is now available on the nav bar! Also, Content Options is available in the Customizer when using my custom theme!
Bad news means that this issue appears then to be with Scotchbox.
@johnpitchko see https://codex.wordpress.org/Debugging_in_WordPress for WP-options on PHP-Errors and http://php.net/manual/en/function.error-reporting.php for general PHP-Error reporting
Debugging enabled in wp-config.php:
Debugging enabled in /etc/php/7.0/apache2/php.ini:
Are these correct/valid for Scotchbox?