Notifications
Clear all

Error in Custom Post Type

2 Posts
2 Users
0 Reactions
1,429 Views
(@alexpaul)
New Member
Joined: 6 years ago
Posts: 4
Topic starter  

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
(@astgh)
Illustrious Member Admin
Joined: 7 years ago
Posts: 6191
 

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:
Scroll to top