If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
August 2, 2010 at 2:21 pm #503August 3, 2010 at 9:17 am #31698
You can create Portfolio categories – the Portfolio uses a custom post type so technically can’t have sub categories because it isn’t a category itself.
You can see an example of the categories on the demo page (the tabs are all separate categories): http://www.kriesi.at/themes/avisio/portfolio/August 3, 2010 at 9:26 am #31699
is there no way to work with real categories/subcat with the functionality (jquery) of the portfolio ?
tnks againAugust 3, 2010 at 11:13 am #31700
could I avoid to open up the image when i click over a category and put instead a direct link to a custom page ?
tnksAugust 3, 2010 at 1:37 pm #31701
I don’t quite understand your question about sub categories; the Portfolio is set up as a Custom Post Type (think of it as an alternative set of posts). You can add categories and add posts (portfolio entries) into these categories.
The Portfolio Page Template takes the categories and displays them all so you can filter / sort the entries depending which categories the user wants to see and by date or name.
You can easily modify the link to point to a custom page by adding a custom field and editing the template to use this if it exists instead of the regular permalink. I have put together a post on how to add the price sort feature as well, have a look if you need help adding a custom field.August 3, 2010 at 8:57 pm #31702
I try to explain what I need.
I have several categories, for example, Sport, Travel, Photos, Videos, etc etc etc
I would want to display all these cat in the Portfolio style with some type of sort by filter,
but when I click over Sport for example, i would want to open a new page with its sub categories and again in portfolio style with new sort by filter.
Is this possible with Portfolio/post function of CleanCut theme, or should I use standard categories and sub-cat of wordpress ?
Thanks againAugust 4, 2010 at 3:41 pm #31703
Ok, I understand what you’re trying to do (use regular Categories and have the Portfolio sorter included), the best way to do this would be to duplicate the code from template_portfolio.php and change the query_string from this:
$query_string .= "&post_type=portfolio";
$query_string .= "&post_type=post";
and to change the categories, change this:
$categories = get_categories('title_li=&orderby=name&hide_empty=0&taxonomy=portfolio_entries&include='.$k_option['portfolio']['matrix_slider_port_final'][$overview_post_id]);
$categories = get_categories();
This is an extensive modification and there are other bits to do to get it just right. I can guide you for specific questions but I don’t have the time to make the whole modification for you.August 4, 2010 at 4:22 pm #31704
Thank you very much James,
i’ll try to start with this right now, i hope I can finish the work from myself.
ThanksAugust 17, 2010 at 10:12 pm #31705
I made these first modifications to the template_portfolio page, but the result is …. blank body in the main area of my portfolio page.
Should I change some other thing to populate my portfolio page ?
tnks in advanceAugust 18, 2010 at 5:38 pm #31706
maybe i have to point to categories instead of portfolio….
How can I create a menu to open up a categories poage, like portfolio does ?
maybe this is more specific question….
tnksAugust 19, 2010 at 11:10 am #31707
in themeforest about your themes, once i saw a page where people can be hired to work in order to get what I need.
Could you send my the link at least ? I really need to solve my problem soon…
TnksAugust 19, 2010 at 11:16 am #31708August 19, 2010 at 11:44 am #31709August 19, 2010 at 12:52 pm #31710
Hi, this was a interesting topic for me ‘cuz i want the same thing.
Most of all i would like to have sub-nav in portfolio-style, but if that does’t work
i want the oppertunity to set whatever http://-link for portfolio-item.August 20, 2010 at 8:50 am #31711August 31, 2010 at 12:30 am #31712
The topic ‘subcat’ is closed to new replies.