Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you've followed this course from top to bottom, beginning to end, you will now have a fully responsive WordPress theme with a featured-content slider at the top, a Masonry layout index page, and responsive content throughout the site. Now, I want to show you a couple of hidden features that are built into the Anaximander theme that will make it easier for you to use and also better for the people who visit the site. The first feature is the front-page widgets.
The front-page widgets allow you to add regular widgetized items, like lists of recent posts or recent comments or archive lists or whatever, in three different places on the front page. To activate them, go to either the WordPress toolbar and select Widgets or go to the Dashboard and go under Appearance and Widgets. And here you see we have Front page widget 1, Front page widget 2, and Front page widget 3. So, let's place a Categories list in Front page widget 1, Recent Comments in widget 2, and the Archives in widget 3.
If I now open the front page in a separate window, you will see that right here in my masonry-index, we now have a Categories list. If we scroll down, you will see the Recent Comments appear, and all the way at the bottom, you see Archives. And if I add more widgets to one of these lists--let's say I want to add a list of pages or even a custom menu to the first widget area-- I can reload the page, and you will see that that widget appears on top.
And just like with everything else on this page, these widgets are placed inside the masonry-index, meaning as I resize the window, they will move around and reorganize to fit. The second feature is related to the featured images. If you write a post, you can use the featured image in an advanced way in this theme. What I've done here in this post is I have created a post, assigned a featured image, but I didn't add the featured image to the top of the post.
If I want to add the featured image to the top of the post automatically, instead of putting it into the post itself, I can simply go into Edit Post and change the post Format from Standard to Image. If I set the post Format to Image, it will automatically include the featured image at the very top of the post every time. As you can see, we have a featured image of the car down here, and when I update this post and click View Post, the featured image appears at the top of the post.
This is very useful because now you don't need to add the image twice. If you want the image to appear at the top and you also want it to be a featured image, simply add it as a featured image, set the post Format to Image, and it will automatically appear inside your post. The last feature is the one I think is the coolest. If you add a video from either Vimeo or YouTube and you do it using the oembed technique, like I did here in this Farm to Table post, you can see the video appear inside the post, but you don't see it on the front page.
What I did in this theme was add a feature that would automatically include the video on the front page for you. So, if you go to Edit Post, you'll see that the video is here included as an oembed, meaning I just placed URL to the video inside the HTML view, and I switched the post Format to Video, update the post, view the post, and then reload my front page, you'll see that now that video appears in playable format right on your front page.
(video playing) This automatically happens for YouTube videos and for Vimeo videos. If you don't want the video to appear on the front page--you only want to show an image from the video-- all you have to do is go to the post and edit it, set the post Format back to Standard, and then upload a featured image, and that featured image will appear instead. So here you have a very advanced option.
That means when it comes to video posts on the front page, you have three options. If you simply add the video into the post along with text, it will appear as the title and then some text, and no video will be shown. If you add a featured image to your post, that featured image will show on the front page. If you go and change the post Format to Video, instead of the featured image, on the front page, you'll see a playable version of the video.
In designing the Anaximander theme, I wanted to give you a theme with a lot of advanced functionality that you can actually use for your own web site now that you have completed it. That means take the theme, customize it in any way you want, change the colors, add a header image, change the layout, and use it on your web site. The whole point of this theme is to give you the tools necessary to figure out how to build your own theme using all these advanced options, and have that theme be responsive, so it looks great on desktop computers, tablets, and on phones.
Get unlimited access to all courses for just $25/month.Become a member
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.
Your file was successfully uploaded.