New answers tagged

0

I think the slug of our page and post-type become the same. Please change any -one of them ie, post_type=>'color' and page slug to colors. Hope it helps


0

Your question not so much clear but try the following instruction which i understand. First you create page template-color.php and than give template name like <?php /* Template Name: Color */ ?> Now at admin area you create page color and select template Color. Than hit the url of cutom post type page like abc.com/color. In this way you can ...



Top 50 recent answers are included