Custom Post Types and Categories
-
I’m redesigning my website and I need to keep the categories that I currently have. As an example one of my categories is “movies” so in the theme I have
<?php elseif ( is_category('movies') ) : ?>
My permalink structure is: /%category%/%postname%/ so I can have site.com/movies/post-about-movies.
I would like to create my custom post types so the URL will be site.com/movies/post-about-movies like i mentioned above, but I have been having issues since the slug for the custom post is clashing with the category.
Since this website has multiple categories like movies, gaming, etc how do I get this to work? I even tried refreshing permalinks and still with no luck..
Would I be able to get this to work with this plugin?
- The topic ‘Custom Post Types and Categories’ is closed to new replies.