Minimum Pro comes built in with Portfolio Custom Post Type, but not a corresponding custom taxonomy like how Executive Pro does.
In this article, I show how we can apply the code from Executive Pro in Minimum Pro.
But first, screenshots.
Portfolio Type meta box in Portfolio CPT entry editor page:
Taxonomy term archive page (Ex.: http://example.com/portfolio-type/peaceful/):
Portfolio CPT single page showing taxonomy terms for that entry (Ex.: at http://example.com/portfolio/antarctica/):
Let's get started.
Create Portfolio Type custom taxonomy
Edit Minimum Pro's functions.php.
Above
//* Create portfolio custom post type
add
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
[…] Adding Portfolio Type taxonomy in Minimum Pro […]
I got this tutorial however I want to check exist the custom field (example is the price and website) then display it on tax archive and single entry portfolio the same line with post meta.
Thank you for your truly supports.
Really appreciate how clearly and thoroughly written these instructions are. I think I’ve followed them exactly, so any idea as to why my Taxonomy term archive page (http://www.meridyvolzart.com/portfolio-type/turbans/) comes up as a 404 error page? My Portfolio CPT single page (http://www.meridyvolzart.com/portfolio/wise-woman/) is displaying the taxonomy term.
How do you display 4 items on the archive page versus 2?
Dear Sridhar,
First of all I want to thank you very much for the incredible efforts that you make, helping people with all the valuable guides that you create and publish.
It is very rare nowadays to “meet” a person like you, who have such a gift!
I sincerely wish you and your amazing family great health and all the best, and you to be able to achieve all you dream of, because you really deserve it!
Please excuse me for this long intro, but I am really amazed by your personality.
I have this question about the taxonomies. I am trying to create by myself a recipe website using the Minimum pro theme.
I have followed your very detailed instructions and I have managed to add correctly the taxonomy type to the portfolio.
In my case I have renamed portfolio to “Recipes”.
Apart from the taxonomy that I have managed to create with your guide I need to add two more that will use the same portfolio look.
What I mean is the first taxonomy will be “Cuisine Type”
1. Indian
2. Chinese
3. Western …. etc
I need to add two more taxonomies called “Dish Type”
1. Appetizers
2. Salads
3. Desserts … etc
The second is “Healthy Recipes”
1. Gluten free
2. Only vegan, etc.
I understand that I need to reuse some part of the code in order to be able to do that, but I am not sure which one.
Also from all the info that I have managed to find on the topic I believe that the portfolio archive template that is created in your guide can be used for all the three taxonomies with a function for template redirect without the need to copy the code three times, but I am not sure if this can be used in my case.
I realize that you are extremely occupied, but I hope that you will have the will to help me in my struggle.
I want to thank you in advance for your precious time and kind cooperation.
All the best,
Kate
Hi Kate,
I am glad that you appreciate my efforts.
You would repeat the register_taxonomy() code for additional taxonomies.
Ex.: http://pastebin.com/raw.php?i=TeJBLraL
Yes. Try http://pastebin.com/raw.php?i=W0MbnCyT
Dear Sridhar,
Thank you very, very much for your kind help!!!
I have managed to successfully register all the needed custom taxonomies.
As far as the reuse of the archive template is concerned, after I have applied the code that you have been so kind to provide me, all the recipes were shown as regular blog posts instead with the portfolio look.
I have tried to find a solution for the problem and have found almost identical to yours code by Bill Erickson with a kind of different function here:
http://www.billerickson.net/code/use-same-template-for-taxonomy-and-cpt-archive/
When I have applied that code the problem with all the recipes looking like regular blog posts was solved, but all the recipes were shown in only one column instead in the grid style. Also this was not the one column style look used when views on mobile devices, but the column is left aligned, so I believe and I am sure that the solution is not proper, unfortunately for me.
In the StudioPress forum I have managed to find a member who have experienced similar problem, but unfortunately he mentions very pro style that he have managed to find a solution but I am not able to get what it is:
http://www.studiopress.com/forums/topic/change-default-blog-output-custom-taxonomy/
Is there any chance that you can hint me which way to go in this situation.
I also wanted to ask you since with the solution you have provided me the archive-recipes.php (archive-portfolio.php) file is used, do I have to delete the taxonomy-portfolio-type.php which I have created following you great guide, or it is still needed to be present.
Once again thank you for all your help!!!
All the best,
Kate
I am having the same problem with the portfolio posts going into one column floating on the left. Kate, did you find a solution yet?
Hello,
If I wanted to add the functionality of adding a row of Portfolio Type custom taxonomy terms above the images to filter and show Portfolio entries that only belong to a particular Type (as provided in your tutorial for the 3 column Portfolio archive), what would I need to do?