Hi,
I would like to display 4 different portfolio slugs in 4 different pages.
Here is the structure;
Portfolio-Category A
Portfolio-Category B
Portfolio-Category C
Portfolio-Category D
Well, I know I can get the slugs by /../portfolio_category/slug-name
However; I need to display portfolio categories in a page, not like above.
/../slug-name(.html) should be in a page template-portfolio-4c-sorted-full-width.
Therefore; I dublicated template-portfolio-4c-sorted-full-width with different names (same with the slugs of portfolio categories) and I have 4 custom page templates.
I have no idea how to get different portfolio categories in different pages.
Is there any way that I can get portfolio categories by slugs? (there is one for page categories “get_category_by_slug”. Anything for portfolio categories?)