Error in Custom Post Type  

  RSS

alexpaul
(@alexpaul)
New Member
Joined: 10 months ago
Posts: 1
22/02/2019 4:24 pm  

How can I add a custom post type using Gutenberg editor? I have already tried to implement the code using the reference tutorial  https://www.cloudways.com/blog/gutenberg-wordpress-custom-post-type/ but I am having an issue in the registration code. Can anyone resolve it?

 

array(
'labels' => array(
'name' => __( 'Portfolio' ),
'singular_name' => __( 'Portfolio' )
),
'has_archive' => true,
'public' => true,
'rewrite' => array('slug' => 'portfolio'),


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 2469
22/02/2019 5:18 pm  

Hi @alexpaul,

You're asking this question in an incorrect place. This is not a WordPress support forum. This is a wpDiscuz support forum.

If you have questions related to wpDiscuz please let us know. 


ReplyQuote
Share: