Paulo Coelho Other Publication
Other publications by Paulo Coelho beyond publication novels.
if ( ! function_exists('pc_publications') ) { // Register Custom Post Type function pc_publications() { $labels = array( 'name' => _x( 'Other Publications', 'Post Type General Name', 'paulo_coehlo' ), 'singular_name' => _x( 'Other Publication', 'Post Type Singular Name', 'paulo_coehlo' ), 'menu_name' => __( 'Other Publication', 'paulo_coehlo' ), 'name_admin_bar' => __( 'Other Publication', 'paulo_coehlo' ), 'archives' => __( 'Publications Archives', 'paulo_coehlo' ), 'attributes' => __( 'Publication Attributes', 'paulo_coehlo' ), 'parent_item_colon' => __( 'Parent Publication:', 'paulo_coehlo' ), 'all_items' => __( 'All Publications', 'paulo_coehlo' ), 'add_new_item' => __( 'Add New Publication', 'paulo_coehlo' ), 'add_new' => __( 'Add New Publication', 'paulo_coehlo' ), 'new_item' => __( 'New Publication', 'paulo_coehlo' ), 'edit_item' => __( 'Edit Publication', 'paulo_coehlo' ), 'update_item' => __( 'Update Publication', 'paulo_coehlo' ), 'view_item' => __( 'View Publication', 'paulo_coehlo' ), 'view_items' => __( 'View Publications', 'paulo_coehlo' ), 'search_items' => __( 'Search Publications', 'paulo_coehlo' ), 'not_found' => __( 'Not found', 'paulo_coehlo' ), 'not_found_in_trash' => __( 'Not found in Trash', 'paulo_coehlo' ), 'featured_image' => __( 'Featured Image', 'paulo_coehlo' ), 'set_featured_image' => __( 'Set featured image', 'paulo_coehlo' ), 'remove_featured_image' => __( 'Remove featured image', 'paulo_coehlo' ), 'use_featured_image' => __( 'Use as featured image', 'paulo_coehlo' ), 'insert_into_item' => __( 'Insert into publication', 'paulo_coehlo' ), 'uploaded_to_this_item' => __( 'Uploaded to this publication', 'paulo_coehlo' ), 'items_list' => __( 'Publications list', 'paulo_coehlo' ), 'items_list_navigation' => __( 'Publications list navigation', 'paulo_coehlo' ), 'filter_items_list' => __( 'Filter publications list', 'paulo_coehlo' ), ); $args = array( 'label' => __( 'Other Publication', 'paulo_coehlo' ), 'description' => __( 'Other publication by Paulo Coelho', 'paulo_coehlo' ), 'labels' => $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'revisions', 'custom-fields', 'page-attributes', 'post-formats' ), 'taxonomies' => array( 'category', 'post_tag' ), 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_in_menu' => true, 'menu_position' => 5, 'menu_icon' => 'dashicons-admin-page', 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'can_export' => true, 'has_archive' => true, 'exclude_from_search' => false, 'publicly_queryable' => true, 'capability_type' => 'page', 'show_in_rest' => true, ); register_post_type( 'pc_publications', $args ); } add_action( 'init', 'pc_publications', 0 ); }