davidbicton
Forum Replies Created
-
Forum: Plugins
In reply to: [Copy/Paste FlexContent Blocks for ACF] Not Working
Screenshot above
Forum: Plugins
In reply to: [Custom Post Type UI] Taxonomy value deleted but still being indexedAlso I have redirected it for the time being. Let me know if you want the redirect stopped.
Forum: Plugins
In reply to: [Custom Post Type UI] Unable to set child on custom post typeYea there are over 50 posts
Forum: Plugins
In reply to: [Custom Post Type UI] Unable to set child on custom post typefunction cptui_register_my_cpts_specials() {
/**
* Post Type: Specials.
*/$labels = [
“name” => __( “Specials”, “hello-elementor-child” ),
“singular_name” => __( “Special”, “hello-elementor-child” ),
];$args = [
“label” => __( “Specials”, “hello-elementor-child” ),
“labels” => $labels,
“description” => “”,
“public” => true,
“publicly_queryable” => true,
“show_ui” => true,
“show_in_rest” => true,
“rest_base” => “”,
“rest_controller_class” => “WP_REST_Posts_Controller”,
“has_archive” => false,
“show_in_menu” => true,
“show_in_nav_menus” => true,
“delete_with_user” => false,
“exclude_from_search” => false,
“capability_type” => “post”,
“map_meta_cap” => true,
“hierarchical” => true,
“rewrite” => [ “slug” => “/”, “with_front” => true ],
“query_var” => true,
“menu_icon” => “https://bictontravel.wpengine.com/wp-content/uploads/2020/07/Money-Bag_White_3.png”,
“supports” => [ “title”, “editor”, “thumbnail”, “page-attributes” ],
];register_post_type( “specials”, $args );
}add_action( ‘init’, ‘cptui_register_my_cpts_specials’ );