Hello,
can I create sub-categories in the Portfolio page ?
tnks
subcat
16 posts from 4 voices-
Posted 2 years ago #
-
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/
Posted 2 years ago # -
understand.... thanks.
is there no way to work with real categories/subcat with the functionality (jquery) of the portfolio ?
tnks again
Posted 2 years ago # -
...or
could I avoid to open up the image when i click over a category and put instead a direct link to a custom page ?
tnks
Posted 2 years ago # -
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.
Posted 2 years ago # -
I try to explain what I need.
I have several categories, for example, Sport, Travel, Photos, Videos, etc etc etcI 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 again
Posted 2 years ago # -
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";to this:
$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]);to this:
$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.
Posted 2 years ago # -
Thank you very much James,
i'll try to start with this right now, i hope I can finish the work from myself.Thanks
Posted 2 years ago # -
Hi James,
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 advance
Posted 2 years ago # -
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....
tnks
Posted 2 years ago # -
hello james,
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...
Tnks
Posted 2 years ago # -
tnks
Posted 2 years ago # -
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.Posted 2 years ago # -
no, these changes to the template_portfolio doesn't work at all for me...
Posted 2 years ago # -
Hello James,
how can I show hyerarchical Portfolio subcategories in sort_by_cat div ?Tnks
Posted 2 years ago #
Reply
You must log in to post.














