/ Published in: PHP
so you want to have your url structure like :
yourdomain.com/post-type/286
add the following snippet to your functions.php and change the post-type names where appropriate
yourdomain.com/post-type/286
add the following snippet to your functions.php and change the post-type names where appropriate