Hi
Could you please remove the ?>
at the end of your code?
I tested your code in a plugin with Polylang 1.8.5 and it works, see: https://nimb.ws/PtEsBO
EDIT: I suggest you to copy/paste the below in a .php file and activate this plugin. Does it work?
<?php
/*
Plugin name: TEST CPT FORUM
*/
add_action('init', 'create_fullbase_area');
function create_fullbase_area() {
$labels = array(
'name' => __('Area', 'fullbase-plugin'),
'singular_name' => __('Area', 'fullbase-plugin'),
'add_new' => __('Add Area', 'fullbase-plugin'),
'add_new_item' => __('Add New Area', 'fullbase-plugin'),
'edit_item' => __('Edit Area', 'fullbase-plugin'),
'new_item' => __('New Area', 'fullbase-plugin'),
'all_items' => __('All Area', 'fullbase-plugin'),
'view_item' => __('View Area', 'fullbase-plugin'),
'search_items' => __('Search', 'fullbase-plugin'),
'not_found' => __('Slide Not found', 'fullbase-plugin'),
'not_found_in_trash' => __('Slide Not found in the trash', 'fullbase-plugin'),
);
$args = array(
'labels' => $labels,
'public' => true,
'rewrite' => array('slug' => 'area' ),
'has_archive' => true,
'hierarchical' => true,
'menu_position' => 24,
'show_ui' => true,
'menu_icon' => 'dashicons-images-alt2',
'supports' => array(
'title',
'editor'
),
);
register_post_type('fullbase_area', $args);
}