How To Add A Link Section To WordPress

Before the release of WordPress v3.5, Links were a core feature of WordPress. This tutorial shows you how to restore this feature to your site …

Adding WordPress Sidebar Featured LinksAs you continue to learn more about the benefits of using WordPress, you may occasionally come across the term blogroll.

A blogroll is a list of links pointing to other sites or pages displayed on your sidebar.

According to official WordPress documentation …

“The term ‘blogroll’ was originally used because it was a list of links to other blogs, but you can include links to any sites.”

You can display links on your sidebar or footer using the Link Manager plugin for WordPress.

Important Info

Prior to the release of version 3.5, Links were a core feature of the WordPress CMS. After the release of v 3.5, the Links Manager section was hidden by default in new installations …

Before …

The Link Manager feature displayed in the WordPress admin menu until the release of WP v.3.5

(WordPress Links Feature – pre v3.5)

After …

Post v.3.5 - no WP Links Manager

(The Links Manager feature – excluded from WordPress after WordPress v 3.5)

If you have used an earlier version of WordPress than v3.5 and upgraded your installation, the Link Manager would be removed, unless you’ve previously used it. If you’ve never used Links Manager, however, or if your WordPress installation is new, then this function will remain hidden – it will not be displayed on the menu.

 

How To Add A Link Section To WordPress

Useful Tip

You can add a link section to your sidebar menu by creating a custom menu, or use a plugin like the one shown in the tutorial below.

If the Link Manager is not visible when you log into your WordPress admin area you will need to install a plugin. In this step-by-step tutorial, you will learn how to add, edit, delete and manage links on your site’s sidebar using plugins.

Link Manager

Link Manager WordPress Plugin

(Link Manager – WordPress Links Management Plugin)

Download URL

http://wordpress.org/plugins/link-manager

Plugin Description

This plugin displays the Links Manager, even if you update WordPress to a later version or remove all of your existing links.

Note: This plugin adds a single line of code to WordPress to restore the hidden feature. When we last checked, this plugin had not been updated for some time, but it should still work fine. If you don’t want to use the Link Manager plugin, then use the plugin below instead, or contact us for help editing your site’s template code.

Simple Links

Simple Links - Link Manager Plugin For WordPress

(Simple Links WordPress Plugin)

Download URL

https://wordpress.org/plugins/simple-links/

Plugin Description

Simple Links attempts to recreate the same concept as the built-in WP Links Manager while removing the shortcomings of the deprecated feature.

How To Install The Plugin

To install the Link Manager plugin on your site, follow these instructions:

In the WordPress admin menu, select Plugins > Add New …

Plugins - Add New

(Plugins Menu – Add New)

Click on the Install Plugins > Search tab, type in “link manager” into the search field and hit Enter …

Plugin Installation

Find the plugin in the search results area and click Install Now …

Plugin Installation

Activate the plugin after it has been installed …

How To Install The Plugin

After the plugin has been activated, a ‘Links’ item will be added to the WP navigation menu …

WordPress links menu

(Links management menu)

Plugin Setup

We recommend setting up your link categories first before adding new links. This way, when adding a new link, you can assign your link to link categories you have already created.

Link Categories

To create a link category, choose Links > Link Categories in the WP dashboard menu …

WP Links Menu - Link Categories

(WP Links Menu – Link Categories)

The ‘Link Categories’ screen will display in your browser.

Enter the following information:

  • Name: What you type here is the link category name that will display on your site.
  • Slug: The slug is the search-engine friendly URL bit of the link category. It must all be in lowercase letters and contain no spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description. (Optional)

after entering your information, click Add New Link Category to save your new link category …

Link Categories page

(Link Categories)

The category details will display in the table …

Link Categories

(Link Categories)

Useful Information

Tip: Blogroll is the default link category name. Unless you specify a category when adding a link, WordPress will automatically assign new links to the default category …

Default link category

(Default link category name)

You may want to change this default WordPress link category name to something that will make sense to your blog readers. This not only makes it easier for users of your site, but any new links that you add to your site will automatically appear under the new category name …

Consider changing the default link category name to something your visitors will relate to

(we recommend changing the default ’blogroll’ to something better suited to your business)

To edit the ‘Blogroll’ link name, hover your mouse over the category name and click on Quick Edit …

Editing the default link category name

(Editing the link category name)

Replace both the Name and the Slug with a new category name (remember to keep the slug in lowercase letters and replace all spaces with a hyphen), and click on Update Link Category …

Update Link Category

(Update Link Category)

Replace the link category ‘Blogroll’ with a more suitable name (e.g. ‘Recommended’, ‘Special Deals’ etc).

Let’s now add a description for this link category. To add a description to an existing link category, hover over the item name and click Edit …

You can add/edit the category description

(You can add/edit your category description)

Enter your link category description field and click Update …

Edit Link Category page

(Edit Link Category area)

Repeat this process to add as many different link categories as your site needs.

After configuring your link categories, you can add your links.

How To Add Links

To create a new link, go to your navigation menu and click on Links > Add New …

Links Menu - Add New

(Links Menu – Add New)

The ‘Add New Link’ screen will display in your browser …

Add New Link screen

(Add New Link page)

You can also access this page by clicking on ’Add New’ in the main Links screen …

Links page - Add New Link button

(Add New Link button)

The ‘Add New Links’ page has a number of sections:

Name, Web Address & Description

The first section lets you enter your link details …

Name, Web Address& Description

(Add New Link screen – Name, Web Address& Description)

Type in the following information:

  • Name: Whatever you type here is the link category name that will display on your site.
  • Slug: The slug is the SEO friendly URL bit of your link category. It must be in lowercase letters and contain no spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description. (Optional)
Categories & Target

Select a Category and Target for the link …

Categories & Target - Add New Link page

(Categories & Target)

In the Categories section, select a link category you have already added, or click on the ‘+ Add New Category’ link to add a new category link.

Next, select a target frame radio button for your link in the Target section. This lets you specify how you want the link to open when visitors click on it:

  • _blank means that when a visitor clicks on your link, a new browser window will open up to display the information associated with the link. Your visitor can access the link information without leaving your page
  • _none means that when a visitor clicks on the link, they will leave your site and a new website or page will load in your web browser window instead.
  • _top opens links at the top level of the frame system if you’re using frames. Don’t worry about this option if you don’t use frames, or if you don’t know what frames are.
Link Relationship XFN

This section provides some additional link functionality …

Link Relationship (XFN) - Add New Link page

(Link Relationship (XFN) area – Add New Link screen)

Link Relationship (XFN) – XFN (XML Friends Network) is a way to define your relationship to the linked person. For example, if you work with Aanya Fields and you link to her blog, you would probably check co-worker or colleague.

XFN relationships are optional. You can ignore this section and your links will still work. Defining relationships with XFN makes your links more understandable to some websites and search engines that use this information.

rel – This field lets you specify the ‘rel’ attribute that will be assigned to your link. The rel attribute is used to define what relationship exists between the current document and the linked document. For example, if you don’t want search engines to follow your link, type nofollow into this field.

To learn more about XFN, visit this site:

Advanced

The last section allows you to specify Advanced features for your links (You can ignore this section, unless there’s a good reason to use it) …

Add New Link - Advanced fields

(Add New Link page – Advanced link settings)

The Advanced link settings section contains the following:

  • Image Address: Lets you specify an image to be displayed with the link. Add the image URL and make sure that your image is small (around 16×16 like a favicon).
  • RSS Address: If your theme allows it, the link’s RSS feed will display next to the link.
  • Notes: This section lets you add notes for your own internal reference.
  • Rating: You can add a rating score to the link if you would like to sort links by rating (see the ‘Links’ widget section below).

Type in your information into the above fields or just leave this section ignore this section.

When you have finished adding information about your link, click on Add Link to save your new link …

click on Add Link to save your new link

(Click on Add Link to update your link settings)

Useful Information

Note: If you select Keep this link private, the link will not be visible in your Links section …

Private link checkbox

(Make links private by selecting the checkbox)

Making a link private allows you to add a link and then toggle its visibility on or off without deleting it (this is useful if you want to have seasonal links) …

Toggle link visibility on and off

(Making links private toggles their visibility on and off)

To see a list of all your links, go to your dashboard navigation menu and choose Links > All Links …

Links - All Links

(Links Menu – All Links)

You will be taken to the ‘Links’ page. The Links screen displays a list of all of your links and link information (e.g. URL, link categories, relationship, etc.) …

Links screen

(Table of links)

Useful Tip

Tip: To display additional columns in the table of links, click on the ‘Screen Options’ tab near the top of your screen …

Screen Options - Links screen

(Links page – Screen Options)

Enable/disable fields on your Links table by selecting/deselecting their check boxes …

Show/hide links

(Show/hide links)

How To Edit Links

To modify links in the Link Manager, go to the main dashboard menu and select Links > All Links to bring up your table of links …

Links - All Links

(Links Menu – All Links)

Select the link to be edited and click on Edit to bring up the link’s details …

Editing your links

(Editing link information)

Edit your link fields …

Edit Link page

(Edit Link screen)

After you’re done editing your link, you can:

  • Click on Update Link to save your link details,
  • Click on Visit Link to see your link and check that you have set up your link’s URL correctly (your link will open up in a new window),
  • Click Delete to delete the link if you no longer require it …

Update Link button

(Edit Link: Update Link button)

How To Remove Your Links

To delete links from the Link Manager, select Links > All Links in your WP navigation menu …

Links - All Links

(Links Menu – All Links)

You will be taken to the ‘Links’ page.

You can delete links individually, delete multiple links by selecting their check boxes, or perform a bulk delete.

To delete links individually, hover your mouse cursor over the link that you want to remove and click on Delete …

Delete your links

(Delete your links)

To delete links in bulk, either click on the checkbox next to each link that you would like deleted, or select all links by clicking on the main check box next to the ‘Name’ column header at the top of the list …

Delete multiple links

(Delete multiple links)

Choose Delete from the ‘Bulk Actions’ pulldown menu, and click the Apply button to delete your selected links …

Links: bulk-delete function

(Bulk-deletion of links)

The selected links will be deleted …

Link deletion notification

(Deleted links message)

Plugin Usage

Now that you know how to configure link categories and how to add, edit and delete links, it’s time to display links on your website.

Using The Links Widget

The Link Manager plugin adds a ‘Links’ widget to your ‘Widgets’ screen.

To access and configure your Link widgets, go to the WP dashboard navigation menu and select Appearance > Widgets …

Appearance - Widgets

(Appearance Menu – Widgets)

This takes you to the ‘Widgets’ page.

You will notice a ‘Links’ widget in the Available Widgets section …

Links widget

(Links widget)

Drag the ‘Links’ widget to one of your active widget areas and drop it wherever you want your links section to display …

Add a links widget to a widgetized menu

(Drag & drop your links widget to add it to your widget bar)

The Links widget offers a number of configurable settings. For example, you can specify what information you would like to display about your links and how many links you want to display on your sidebar …

Link widget options

(Link widget options)

You can also add as many link widgets as you want. This allows you to create and feature specific several link lists throughout your site …

Add a number of link widgets to your sidebar

(Add multiple link widgets to your sidebar)

Display links for a specific category …

Link widget options - Select Link Category

(Link widget options – Select Link Category)

You can sort links by Link rating, Link ID, Link title, or display links in Random order …

Link widget options - Sort by options

(Link widget settings – Sort by options)

When you have finished setting up the links widget, click Save to update your settings. A link section will now be visible on your site …

Links can be displayed on your site's sidebar

(An example of how links can be displayed on your site’s sidebar)

As the above example shows, you can display specific links to your site visitors (e.g. a list for a specific link category only), and add multiple lists of links to your sidebar menu.

Tip

Need more help using widgets? We have written a comprehensive article about using widgets. Go here to learn more about this:

Link Manager – Additional Information

If you have many links, the Links Manager plugin allows you to easily administer these with sorting, filtering, and searching features.

Sort Links

To sort links, hover your mouse over the title of the column you want to sort and click on the black triangle displayed next to the column title …

Sorting your links

(Sort your links)

Searching Links

Type a search term into the search field and click the Search Links button …

You can search your links with the search function

(You can find links with the search function)

Filter Links

You can filter links by category …

Filter links by categories

(Filter your links by link categories)

You can also search and filter links in the Link Categories screen. Use the ‘Search Link Categories’ button to find link categories, or click on the links in the ‘Links’ column …

searching and filtering links in the Link Categories screen

(Search and filter links in the Link Categories screen)

This displays a list of all links grouped under a specific link category …

Links filtered by category

(Links filtered by link category)

Links – Additional Options

If you plan to add a lot of links to your website or blog, or if you intend to add a page containing a list of links to your site (i.e. not just add links on your sidebar), then you may want to consider using a plugin that can help you administer links.

Link Library

Link Library Plugin

(Link Library WordPress Plugin)

Plugin URL

http://wordpress.org/plugins/link-library/

Plugin Description

Link Library gives you the ability to display a list of your link categories with a complete list of all your links plus notes and descriptions …

List of links created with Link library

(List of links created with Link library. Screenshot taken from Link Library plugin site.)

Link Library creates a page on your site that contains a list of all of the link categories in your Links area, plus all links listed in these categories. You can select a sub-set of categories to display or not display, show only one category at a time, display a search box and find results based on visitor queries, display a form to accept user submissions that can be moderated by a site administrator, and even generate an RSS feed for your link collection so that your site users can be made aware of any additions made to to your link library.

To learn more about Link Library:

How Do I Add A Blogroll Section To My WordPress Site?

Congratulations! Now you know how to how to add a blogroll and manage links to external websites in your WordPress sidebar menu.

Practical Tip

Go here if you want to learn more how to easily insert HTML hyperlinks into your WordPress posts:

***

"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)