Viewers: in countries Watching now:
Learn how to build an advanced portfolio site that showcases various types of content using the free open-source application WordPress. Author Morten Rand-Hendriksen demonstrates creating custom post types, differentiating and classifying content with custom taxonomies, and working with custom post templates. The course also shows how to embed YouTube videos, build index pages, display the latest posts from different custom post types, and hook custom post types into separate themes. Exercise files accompany with the course.
By default, WordPress has two main types of content, posts and pages. The posts are further organized based on categories and tags, while the pages are organized in parent-child relationships. This structure is fine if you have a site with, for example, some static pages and a blog, but it does lend itself well to more complicated sites that have multiple types of content. This is where custom post type come in. A custom post type is exactly what it sounds like. A new type of post with its own name, its own selection in the admin menu, and its own templates, taxonomies, and functions.
The benefit of a custom post type is simply that it separates from your regular posts and allows you to put different types of content in different buckets. To show you what I mean, here is a website we build for the 12X12 Vancouver Photo Marathon. It's a photo contest in Vancouver. In that site we needed a way of organizing information about the participants or marathoners, as we call them. So we created a new post type. As you can see in the admin menu, we have posts, we have pages and down here we also have a new item called Marathoners.
When I click on it, you'll see a list of all our marathoners. You can add a new marathoner if you want to. Add new marathoner, with a title, description, and also a bunch of extra custom field information. The marathoner can also be organized based on the year he or she participated. Rather than having a new post and then categories, we have new marathoner and Year. This is a very basic example of what you can do with a custom post type and you can get way more advanced with it, but it shows the general principle.
Instead of having everything under Posts or Pages, we can add additional New types of content in our sidebar that are then handled separately. custom post types allow you to separate the content on your site into different buckets or areas, so they don't get mixed up. More importantly, they allow you to treat different content differently both by organizing them in new custom taxonomies, collecting different kinds of information, and displaying them with custom templates depending on the contents, and that's what we're going to do in this course.
There are currently no FAQs about Create an Online Portfolio with WordPress.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.