How to create navigation links in your sidebar
Sometimes you may want to have links to particular pages which cannot be accessed from your main navigation bar.
Instead you may want these page links to be available from a special list in your sidebar.
And sometimes this can be an alternative to the drop-down 'child' page tabs from the main navigation bar.
This is accomplished through the use of menus, which I explained in my previous post within this series.
And through a special widget for menus.
First, let's create another menu
Go to the Dashboard page by mousing over 'My Sites' in the top left corner of your blog and selecting 'WP Admin':
or via a self-hosted WordPress.org blog mouse over your blog's name and select 'Dashboard':
And find the 'Menus' link under 'Appearances' in the left sidebar:
You will see the details you created for your Main Menu which shows in your main navigation bar.
At the top of the page find the link that says 'Create a new menu':
Let's call your new menu 'Sidebar menu' for convenience's sake:
And then click on the green 'Create Menu' button.
Now your new menu is ready to receive its pages:
Let's select these two pages to be displayed in your sidebar (of course you will have created your own special pages for your sidebar):
Click on the 'Add to Menu' button to see them safely installed into the menu:
And don't forget to click on the green 'Save Menu' button.
Don't worry about the 'Manage Locations' tab for the time being, I will cover this later in this post.
Now place your second menu in your sidebar
Go to the 'Widgets' link under 'Appearances' in the left sidebar:
And you will see the Widgets Page with its double list of widgets alphabetical order.
Look for the 'Custom Menu' widget:
And click on it to activate it:
Select which sidebar you wish to place the widget into, and then click on the green 'Add Widget' button.
The widget will be placed in the sidebar 'bucket' at the bottom, already opened:
Drag the widget into its correct position in your sidebar before you fill in its details.
Select the 'Sidebar menu' so this widget can display it:
Give your widget a title (hopefully a bit more exciting than the one I've written here!):
And don't forget to click the green 'Save' button.
Now go to your blog to look at your new sidebar navigation widget. Mouse over 'My Sites' at the top left of your blog and select 'View site':
And in a self-hosted WordPress.org blog mouse over your blog's name and select 'Visit Site':
And find your new navigation links in your sidebar:
I hope it meets your approval.
What about that Manage Locations tab?
Oh yes, thank you for reminding me.
Go back to your 'Menus' page under 'Appearance' via the left sidebar.
If you're curious enough, click on the 'Manage Locations' tab:
Now this theme also offers a Footer Menu location. Of course other themes will show different facilities here.
Let's see what happens.
Select the 'Sidebar menu':
And then click the green 'Save Changes' button. Now go look at your blog to see what has happened (instructions how to above):
Wow, the page links are now in a smaller and more plain navigation bar at the bottom of my blog.
You can either repeat your main navigation tabs here, or create another menu that contains a separate set of pages such as 'Terms and Conditions' and 'Legal Policy' and other such official pages you may not want to show up in your top navigation bar.
Of course you can only achieve this if this feature is available on your theme. So go and have a look and experiment!
The next post will explore how to show your sidebar navigation only on a particular page's sidebar. This is a special feature of WordPress.com blogs or if you've uploaded the JetPack plugin in your WordPress.org blog or website.