Skip to content
Permalink
Browse files

CPT update

  • Loading branch information...
ronilaukkarinen committed Apr 23, 2019
1 parent 1602e0e commit ed6c9e1c62c53ca24b80b357b369fd65e2ea2bcf
Showing with 3 additions and 3 deletions.
  1. +3 −3 inc/ads-post-type.php
@@ -43,7 +43,7 @@ function khonsu_ads() {
'labels' => $labels,
'supports' => array( 'title', 'revisions', 'post-formats', ),
'hierarchical' => false,
'public' => true,
'public' => false,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
@@ -52,8 +52,8 @@ function khonsu_ads() {
'show_in_nav_menus' => true,
'can_export' => true,
'has_archive' => false,
'exclude_from_search' => true,
'publicly_queryable' => true,
'exclude_from_search' => false,
'publicly_queryable' => false,
'capability_type' => 'page',
);
register_post_type( 'ads', $args );

0 comments on commit ed6c9e1

Please sign in to comment.
You can’t perform that action at this time.