Im using the Types Plugin to create a custom post type, named portfolio, with categories and custom fields.
In this post type that I created I have this categories:
Portfolio (Main category)
(sub-categories)
- advertising
- top 10
- entertainment
I created all the posts and each one of them has only the sub-category selected. My permalink configuration is set to custom with this setup: /%category%/%postname%/
The permalinks been generated now follows this structure: http://ift.tt/1wbLhzI
- website / type / post-name
I want to add the sub-category in the URL to get this structure: http://ift.tt/1xKkiBc
- website / type / subcategory / post-name
Thanks for your help!
Aucun commentaire:
Enregistrer un commentaire