Hello,
Is that any way to set portfolio categories to be hierarchical?
For example I have CPT category1 (subcategory1, subcategory2) and my link to subcategory1 is: http://example.com/portfolio_entries/subcategory1
I want my links looks like: http://example.com/portfolio_entries/category1/subcategory1.
Please help
M Zbikowski
Hey Marcin,
You should be able to set a custom base under Settings–>Permalinks.
Regards,
Rikard
Thanks for your replay Rikard.
Setting a custom base changing only “portfolio_entries” name in link:
http://example.com/portfolio_entries/subcategory1.
To set hierarchical links, like
http://example.com/portfolio_entries/category1/subcategory1
I had to properly edit register_portfolio.php file in theme category.
Regards,
Marcin
Sorry,
I had to properly edit register_portfolio.php file in theme directory.
Hi,
Yes, now my links looks like: http://example.com/portfolio_entries/category1/subcategory1
Marcin
