-
Hi there,
I have created a CPT like this:
function create_posttype() { register_post_type( 'smartphones', // CPT Options array( 'labels' => array( 'name' => __( 'smartphones' ), 'singular_name' => __( 'smartphones' ) ), 'show_in_rest' => true, 'supports' => array('comments', 'thumbnail', 'author', 'editor', 'title' ), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'info'), ) ); }
The problem is that rank math is not adding the rich snippets i have selected.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The ticket ‘CPT rich snippets not working’ is closed to new replies.