This video is part of our old WP eStore Course Go to our Updated WP eStore Course for current videos.
Welcome back to Part 7 of Lesson 11 of the Build Your Own E-Commerce Website tutorial series. In this part of the lesson we are going to configure the Widgets Reloaded version of the Pages widget.
Add the Pages Widget
Come back over here to our Dashboard and go down to Appearance and Widgets. Open up our Footer Sidebar 1 and drag the Pages widget over there – well let’s see here – drag it over to Footer Sidebar 1. It’s called Pages right now but we’re going to call it Important Links and so we are going to sort them Ascending – we’re going to sort these actually I think by Menu Order, we’re going to leave all these alone, go ahead and show it hierarchically. Let’s take a look and see what it looks like when we do that.
Review and Set the Options
Switch back over to the site, refresh – Important Links, Demonstration. We probably want to exclude the home page and Thank You and Free Download. If we want to exclude something we need to select each one of them. So we will exclude Demonstration and then press down your Control key and exclude Free Download and Thank You and exclude that, You can learn to build …, select Save. That should exclude all of those.
Refresh – it worked. The trick to making that work is to select them individually but have your Control key down so they all get selected together. You can see which ones are selected because they’re still in blue as they show up there.
If you want to see what the rest of these potential things mean come back over here to the pdf file to where wp_list_pages is the command. Come here to the Codex and search for the wp_list_pages and we can see all the potential choices. So for example under depth, number, offset and child_of you can see depth. This parameter controls how many levels in the hierarchy are to be included in the list. If we don’t indicate anything then it Displays pages at any depth and arranges them hierarchically in nested lists. If you put a 1 in there it would only display top-level pages. If you put a -1 it would actually eliminate the hierarchical display and so on and so forth.
That wraps up Part 7 of Lesson 11 of the Build Your Own E-Commerce Website tutorial series, Configure the Pages Widget.