generated from bisco/codex-bootstrap
fix: harden WordPress content rendering
This commit is contained in:
@@ -19,12 +19,15 @@ function azionelab_register_content_types(): void {
|
||||
'add_new_item' => 'Aggiungi spettacolo',
|
||||
'edit_item' => 'Modifica spettacolo',
|
||||
),
|
||||
'public' => true,
|
||||
'show_in_rest' => false,
|
||||
'menu_icon' => 'dashicons-tickets-alt',
|
||||
'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'page-attributes' ),
|
||||
'has_archive' => false,
|
||||
'rewrite' => false,
|
||||
'public' => false,
|
||||
'show_ui' => true,
|
||||
'publicly_queryable' => false,
|
||||
'exclude_from_search'=> true,
|
||||
'show_in_rest' => false,
|
||||
'menu_icon' => 'dashicons-tickets-alt',
|
||||
'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail', 'page-attributes' ),
|
||||
'has_archive' => false,
|
||||
'rewrite' => false,
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user