In your WordPress Theme files, find sidebar.php
. This is your sidebar template file.
Every WordPress Theme has similar but different structure for the sidebar links. You will want to look for something labeled “Pages”, though it might be different for your Theme.
The “correct” structure, replacing the information with your URL and desired effect, would be:
<ul id="pageslist">
<li><a href="/index.php" title="Home Page">Home</a></li>
<li><a href="/index.php?cat=7" title="Category Something">Specific Category Link</a></li>
<li><a href="https://example2.com/" title="Another Blog">Another Blog Link</a></li>
<li><a href="https://example.com/a-blog-post" title="A specific post on your blog">A Blog Post Title</a></li>
<?php wp_list_pages('exclude=2, 6, 4&depth=1&use_desc_for_title=0&sort_column=menu_order&title_li='); ?>
</ul>
The above example includes:
* A link to your home page (index.php)
* A link to a specific category of posts you might want to feature
* A link to an external blog, such as another blog of yours or a favorite blog you recommend
* A link to a specific post (or Page) you may want to feature
* A list of links to your blog Pages (like About, Contact, etc.) which does not include category IDs for 2, 6 and 4, nor subPages. The list of Pages is in menu order and includes other formating instructions.
You can mix and match and order this anyway you like in the sidebar.php
template file.
This same structure can work for featuring “static” links in the footer and header if desired.