I am working on a Wordpress theme lately and just finished coding the Portfolio page. I would like to share my experience with Custom Post Types with you. (Thanks to Joe Casabona, his post is a great start guide.)
Ok, less talk, more code....
We want to...
- Add "Client" and "Short Text" fields to our work
- Add "Types" so our work can be filtered
- Add Sorting Function to Portfolio List (by Date, Project name and Client)
- Add Filtering function to theme
- Have Pagination on the page
Create Custom Post Type[crayon-551a945b6283a671131801/]
Create a Portfolio Template[crayon-551a945b62895942268675/]
View Single Project
You can duplicate and rename your single.php as single-portfolio.php if you want to have a custom single page for your projects.