Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Up until now, we've been focusing almost exclusively on custom post types and custom taxonomies in this course and you're probably wondering, when are we getting to the actual portfolio part of this course? That would be right now. Now that we have all the content we need and it's organized in an easily understandable way in custom post types and with custom taxonomies, we can start putting together a full portfolio page. After all the complicated work we've done, this will seem simple, but it's no less important.
Let's first look at how to switch the front page to a static page and place the blog page on a separate page. Logged into the backend of WordPress, I'm going to create a new page for my front page. So I'll go to Pages, add a new page, and just call it Welcome to Culinary Artistry. In this page I'm going to use some basic content from my exercise files. If you don't have access to all the exercise files, you can just put in pretty much whatever you want.
It doesn't really matter. So I'll go to the Assets and then under text, I'm going to open this file called chef_bio, so I get some text. Then I'll copy out the first two paragraphs. Back in WordPress, I'll use the Paste as Plain Text function to paste it in and then I'll take out two lines. I'll take it one step further, and go to the front of my site, and find the link to the About page where the full text is. I actually want to link the front page directly to this page.
To do that, I'm going to use one of the new functions that came with WordPress 3.1. If we go down to the bottom, I can create a new line where it says "Click here to read more" and then I will highlight all of it, and click on the Insert Link button and then I'll click on Or link to existing content box here to expand it. Now we'll see links to all of my existing content and here I'll find the About page and I can add that link.
This is really all I need to do, so I'll simply publish this page and then move onto the next step. This is going to become the front page. But by default, the front page is the blog index. So if I want to make my new page to front page, I also have to make a page for the blog index. So I'll go back, create a new page, and simply call it Blog. This page will have no content and you'll see why in a second. I'll click Publish again and then I'll go down to Settings and Reading and here I can decide what I want to display as my front page.
By default, it displays your latest posts, but I want to display a static page. So I'll select A static page and then for Front page, I'll select this one, Welcome to Culinary Artistry, and for the Posts page, I'll select the empty Blog page. Click Save Changes, reload the Home page, and you'll see now Welcome to Culinary Artistry is the front page and it has a link here to Click here and read more. It also has comments which I don't want for the front page.
So I'll go back under Pages, go to Welcome to Culinary Artistry, and click Quick Edit, and then I'll simply turn Allow Comments off. Now, if I reload the front page again, you'll see comments are no longer active. This actually works like a fully functional front page. It has a short text with some welcome info, you could also add a photo here if you wanted to, and on the bottom we have links to all our recipes, all our photos, and all our videos.
It even has a Click here to read more link which takes you to the full About page or the visitor could just click on About directly, and of course we have the Blog button which now leads us directly to the blog. The last page we need for our portfolio is a contact page. So let's just build a new page for contact. I'll say Contact and then down here I'll say "A contact form will be inserted here shortly." Okay, so that's what we're going to do later on.
I'll click Publish again and now we have all the major components. We have the Home page, About page, Blog, Contact, and the Sample Page appears in our menu because we haven't changed the menu yet. We'll be finishing all of this up in the rest of this chapter. Static pages are still important elements in a portfolio site and setting them up in the right way can take your site from looking like a standard blog to looking like a professional portfolio.
Get unlimited access to all courses for just $25/month.Become a member
120 Video lessons · 63934 Viewers
119 Video lessons · 71436 Viewers
125 Video lessons · 32201 Viewers
84 Video lessons · 18761 Viewers
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.