Custom WordPress URL
You can use a slug, when you are registering the post type with register_post_type(). You can add this argument like this $labels = array( //… add the labels as you need ) ); $args = array( ‘labels’ => $labels, //add other options as you need ‘rewrite’ => array(‘slug’ => ‘view-promotion’) ); register_post_type( ‘promotion’, $args ); … Read more