Hi @chiarajolly,
Could you please let me know what version of the WordPress Creation Kit plugin you currently have installed on your site? Note: The latest version is: 2.3.6
Best regards,
Yes, it is version 2.3.6.
Hi @chiarajolly,
While using the Classic Editor plugin I can see the WP Globus options when editing a specific WCK custom post. Please check the screenshot from here: https://snipboard.io/SUYaWR.jpg.
Could you please let me know if you also encounter this issue while using the Classic Editor plugin?
Best regards,
Hello, with the Classic Editor plugin I can also see the WP globus options.
It should work also with Gutemberg editor. In the editor of standard pages and posts, it works also with that.
There is also a setting where you specify which types of posts use block editor: /wp-admin/admin.php?page=wpglobus_options&tab=compatibility
Hi @chiarajolly,
Regarding the custom plugin, you use to create CPT, could you please provide the code of that plugin so that we can investigate the differences between that plugin and WCK (to check if there are maybe differences in the arguments)?
Best regards,
Sure, this is my code.
<?php
/**
* Plugin Name: Custom Post Types Plugin
* Description: This is a plugin to create <strong>Custom Post Types</strong>.
* Author: METID - Politecnico di Milano
* Author URI: http://www.metid.polimi.it
* Version: 1
*/
add_action('init', 'custom-post-types_plugin_setup');
/* ------------------------------------------------------------------------- *
* CUSTOM POST TYPE custom-post-types
/* ------------------------------------------------------------------------- */
add_action('init', 'create_custom_post_types');
function create_custom_post_types() {
register_post_type('series', array(
$labels = array(
'name' => __('Serie' , 'custom-post-types-plugin'),
'singular_name' => __('Serie' , 'custom-post-types-plugin'),
'add_new' => __('Aggiungi serie', 'custom-post-types-plugin'),
'add_new_item' => __('Aggiungi nuova serie' , 'custom-post-types-plugin'),
'edit_item' => __('Modifica serie', 'custom-post-types-plugin'),
'new_item' => __('Nuova serie', 'custom-post-types-plugin'),
'all_items' => __('Tutte le serie', 'custom-post-types-plugin'),
'view_item' => __('Vedi serie' , 'custom-post-types-plugin'),
'search_items' => __('Cerca serie' , 'custom-post-types-plugin'),
'not_found' => __('Nessuna serie trovata', 'custom-post-types-plugin'),
'not_found_in_trash' => __('Nessuna serie nel cestino', 'custom-post-types-plugin'),
),
'labels' => $labels,
'public' => true,
'rewrite' => array('slug' => 'series'),
'has_archive' => false,
'hierarchical' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-align-pull-right',
'show_in_rest' => true,
'supports' => array(
'title',
'editor',
'thumbnail',
'custom-fields',
'page-attributes',
'revisions'
)
) );
}
?>
Dear @alexandrubodea,
could you please tell me if this is something that will fix in an easy an fast way?
I need to make the website ready this week and I would like to know If i have to rebuild all from the beginning without WCK (hope I haven’t!).
Many thanks,
Chiara
Hi @chiarajolly,
We’ve also tested with the custom code/plugin you’ve shared with us and we still encounter this issue. Our recommendation will be to ask the https://ww.wp.xz.cn/plugins/wpglobus/ support about this since this issue doesn’t seem to be related to the way that the CPT is registered.
Kind regards,