This question already has an answer here:
I wonder if you could help me.
I'm using a theme which has
portfolio as a custom post type. The portfolio items can be categorised in a similar way to standard posts.
Currently, theme outputs portfolio URLs in the following format:
portfolio-name is simply the post title. the middle section of the URL remains static.
What I would like to achieve is something like this:
portfolio-category proportion of the URL is taken from the portfolio category.
Each portfolio post will only be assigned to a single portfolio category at any one time.
I can send code examples across if this makes it easier for you to understand what i'm trying to achieve.