function create_excursion() { register_post_type( 'excursions', array( 'labels' => array( 'name' => __( 'Escursioni' ), ), 'public' => true, 'hierarchical' => true, 'has_archive' => true, 'featured_image' => true, 'menu_icon' => 'dashicons-admin-site', 'supports' => array( 'title', 'editor', 'excerpt', 'thumbnail','custom-fields', 'author' ), 'taxonomies' => array( 'post_tag', 'category', ) ) ); register_taxonomy_for_object_type( 'category', 'your_post' ); register_taxonomy_for_object_type( 'post_tag', 'your_post' ); } add_action( 'init', 'create_excursion' ); ?> function ns_google_analytics() { ?> } add_action( 'wp_head', 'ns_google_analytics', 10 ); add_action( 'init', 'disable_emojis' ); ?>