This video is part of our old WP eStore Course Go to our Updated WP eStore Course for current videos.
Hi and welcome back to the fifth part of Lesson 11 of the Build Your Own E-Commerce Website tutorial series. In the fifth part of this lesson we will install and configure the Advanced Most Recent Posts plugin.
First go over to our demonstration site so you can see what it is specifically that we are going to try to do. Right click on this and open it in a new tab, take this to the thesisestore.com and the Advanced Most Recent Posts is going to do this – it is going to display standard posts not product posts. You remember that in list of posts in the blog we have standard and then product posts. The product ones don’t show up on this because the site is completed and I’ve excluded them from the display of the blog. The way you get to a product post is simply by selecting the product. We definitely distinguish between a product and a regular old blog post.
One of the ways we do that is to use this Advanced Recent Posts which will allow us to exclude categories. It also does a whole bunch of other really cool things so we’re going to use it instead of another plugin.
Install the Plugin and Review the Features
So let’s go ahead and go to the Dashboard of our website. This is Thesis eStore 11 which we’ve been working on. Open up the Dashboard. Scroll down here to Plugins and Add New and then as the search term we’ll use Advanced Recent Posts. Okay here is the plugin, select Install Now and yes, we do want to install the plugin. Activate the plugin and now that we have Advanced Most Recent Posts installed we can take a look at Appearance and Widgets and see what its capabilities are.
We’re going to put that under Footer Sidebar 2. Take the Advanced Recent Posts widget and drop it there and you can see that you can set the title, the number of posts to show, and the excerpt link. If you have a custom field for thumbnails like the Thesis thumbnail you can put that field here with the width and the height and those things would show up. Or you can get the first image or the first attached image of the post or you can put a default image in here and then you can indicate the categories that you want to display under this Advanced Recent Posts.
Compare to Killer Recent Posts Widget
By contrast let’s take a look at Killer Recent Entries. Killer Recent Entries gives you the opportunity to choose a single category. It gives you the opportunity to give it a title, the number of posts and the number of comments. You can see you’ve got a lot more flexibility here than you do otherwise. If you were to put this on a single template and select Get posts from current category then when a single one was displayed it would display in this widget. It would also display all posts of that same category. That’s a handy feature to have.
Configure the Post Displays
We’re going to remove Killer Recent Entries from this and keep it as Recent Posts. At the moment we’ll just show 5. Give it an Excerpt length of 20. We’re not going to show any images and then we have to pick our categories. Previously I created a bunch of posts to use in this context. So you can see I made a couple of ones for Cherries, and a couple for Apples and these are the posts that are going to show up and these posts that are specifically products won’t.
I have included both the Cherries and Apples categories. Come over here and take a look at Categories. The Apples category has a category ID of 8 and the Cherries category has a category ID of 7 which you can see down there at the bottom. So we will take category 7 and 8 and put them in here – say 7 and 8 and then hit Save. Come back over here and let’s open up our page again and now you can see we’ve got the Recent Posts – 20 maybe is not enough. Let’s go ahead and add a few more characters to that. Instead of 20 let’s make it 50 – it’s kind of cool to be able to pick that number of characters and refresh. So this is an example of a non-product post.
That wraps up the lesson on installing and configuring the Advanced Most Recent Posts plugin.