// 1. Register 'Matches' Custom Post Type
function register_match_post_type() {
register_post_type('match', array(
'labels' => array(
'name' => 'Matches',
'singular_name' => 'Match'
),
'public' => true,
'has_archive' => true,
'supports' => array('title', 'custom-fields'),
'menu_icon' => 'dashicons-awards',
));
}
add_action('init', 'register_match_post_type');
Warning: Cannot modify header information - headers already sent by (output started at /home/kmdneami/public_html/wp-content/themes/match-predict/functions.php:1) in /home/kmdneami/public_html/wp-includes/sitemaps/class-wp-sitemaps-renderer.php on line 126
https://fixblogs.com/wp-sitemap-posts-post-1.xmlhttps://fixblogs.com/wp-sitemap-posts-page-1.xmlhttps://fixblogs.com/wp-sitemap-taxonomies-category-1.xmlhttps://fixblogs.com/wp-sitemap-users-1.xml