Custom Post Type Taxonomy Doesn't work
-
Hi Guys,
I’ve added a custom post type, and also added a the taxonomy to the post type. The taxonomies show up fine in the admin panel. The problem i am having is when i go to add a new post. I can select my taxonomy and add my post but the permalink doesn’t add the taxonomy name to the url. For example http://mysite.com/news/{my-post-slug} and I created a taxonomy under news called genre. So shouldn’t my permalink be something more like this http://mysite.com/news/genre/{my-post-slug}.
Is this just how it’s supposed to be or there is something wrong. My code is below.
[Code moderated as per the Forum Rules. Please use the pastebin]
The topic ‘Custom Post Type Taxonomy Doesn't work’ is closed to new replies.