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 …

How To Add A Blogroll To Sidebar MenuAs you continue to learn more about WordPress, you may occasionally come across something called a blogroll.

In WordPress terminology, a list of links displayed on your sidebar menu is sometimes referred to as a blogroll.

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.”

The Links feature lets you add and manage external links to your WordPress sidebar menu (e.g. a “We Use And Recommend” section) using widgets.

Important

Before WordPress v3.5 was released, Links were a built-in feature of the WordPress CMS. After the release of version 3.5, the Links manager and blogroll sections were removed …

Before …

WP Links Manager - pre version 3.5

(Links was part of the menu until the release of WP v 3.5)

After …

Post v.3.5 - no WP Links feature

(The Link Manager – no longer included in the WordPress dashboard menu after WP v.3.5)

If you’ve had an earlier version than 3.5 installed and updated your installation, the Link Manager would have been removed, unless you’ve previously used it. If you’ve never used the Links feature, however, or if your website is new, then this function will become invisible – it will not display on the menu.

 

How To Add A Link Section To WordPress

Practical 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 Links feature is not visible when you log into your WordPress dashboard you will need to install a plugin. This step-by-step tutorial shows you how to add and manage links on your sidebar using plugins.

Link Manager

Link Manager

(Link Manager – Plugin For WordPress)

Plugin Download URL

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

Description

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

Note: This plugin adds a single line of template 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 one below instead, or contact us for help editing your site’s template code.

Simple Links

Simple Links - WordPress Link Management Plugin

(Simple Links Plugin)

Plugin Download URL

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

Plugin Description

This plugin recreates the same concept as the built-in Link Manager while addressing the shortcomings of the deprecated functionality.

Installing The Plugin

To install the Link Manager plugin, follow these instructions:

In the WordPress administration menu, go to Plugins > Add New …

Plugins Menu - Add New

(Plugins – Add New)

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

How To Install The Plugin

Locate the plugin in the search results screen and click Install Now …

Plugin Installation

Activate the plugin …

Installing The Plugin

After activation, a ‘Links’ section will be added to your WP sidebar menu …

WordPress links management menu section

(Links menu)

Configuring The Plugin

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

Link Categories

To create a link category, go to the dashboard navigation menu and select Links > Link Categories …

Links - Link Categories

(Links Menu – Link Categories)

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

Enter the following information:

  • Name: Whatever you type in this field will display as the link category name.
  • Slug: The slug shows up in the search-engine friendly URL of the link category name. Use only lowercase letters and do not include spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description. (Optional)

When done, click the Add New Link Category button …

Link Categories area

(Link Categories screen)

The category details will display in the list …

Link Categories area

(Link Categories area)

Tip

Tip: The default WordPress link category is called Blogroll . Unless you specify the category for a link, WordPress will automatically assign new links to the default category …

Default link category

(Default link category name is ‘blogroll’)

You may want to change this to something that will make sense to your readers. This not only makes it easier for visitors, but any new links that you add to the Links section will automatically display under the new category name …

Change the default 'blogroll' to something your visitors will understand

(we recommend changing the default link category name to something your visitors will understand)

To edit the ‘Blogroll’ link title, hover your mouse over the list item and click on Quick Edit …

Quick Edit

(Editing the link category)

Change both the Name and the Slug with a new category name, and click on the Update link Category button …

Edit the default link category

(Quick Edit)

In our example, we’ve replaced the category name ‘Blogroll’ with an appropriate links section name (e.g. ‘Recommended’).

Let’s add a link category description. To add a description to an existing link category, click on the Edit link under the category name …

Link category description

(Link category description)

Add your description in the ‘Edit Link Category’ screen and click Update when you’re done …

Edit Link Category screen

(Edit Link Category screen)

Repeat this process to add as many new link categories as you need.

Once you have configured your link categories, you can add new links.

How To Add Links

To add a new link, select Links > Add New in the main admin menu …

Links Menu - Add New

(Links Menu – Add New)

This brings up the Add New Link’ screen in your web browser …

Add New Link page

(Add New Link page)

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

Links - 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 is where you enter details about your link …

Name, Web Address, Description

(Name, Web Addressand Description section)

Enter information into the following sections:

  • Name: What you enter in this field displays as the link category name.
  • Slug: The slug is the web address bit of your link category name. Only use lower case letters and do not include spaces (use hyphens to separate words).
  • Description: Some themes may display your link category description in the links section, or as a tool tip when visitors hover over the link name. (Optional)
Categories & Target

After typing in your link details, select a Category and Target for your link …

Add New Link page - Categories & Target

(Categories & Target – Add New Link)

In the Categories section, select one of the link categories you’ve already set up, or click on the ‘+ Add New Category’ link to create a new category.

Also, select a target frame for your link in the Target section by choosing one of the radio buttons. This lets you specify where your link should open when clicked on by visitors:

  • _blank means that when a visitor clicks on your link, a new, separate window will open up in their browser to display the information associated with the link.
  • _none means that when visitors click on the link, they will leave your site and a new site or page will load in your web browser window instead.
  • _top opens the link at the top level of the frame system if you’re using frames. If you don’t use frames, or if you don’t know what frames are, then just ignore this option.
Link Relationship XFN

This area provides some additional link functionality …

Link Relationship (XFN) section

(Link Relationship (XFN) fields)

Link Relationship (XFN) – XFN (XML Friends Network) lets you define your relationship with the linked person. For example, if you work with Mason Smith and you link to his blog, you would probably tick co-worker or colleague.

XFN relationships are optional. You can ignore this section and all your links will work just fine. Defining relationships with XFN makes your links more understandable to some sites 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 defines the relationship 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.

You can learn more about XFN by visiting the site below:

Advanced

The last section lets you specify Advanced features for your links (You can leave the fields in this section empty unless you have a reason to use them) …

Advanced link settings

(Advanced fields)

The Advanced section fields are as follows:

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

Enter information in the above fields or just leave this section blank, as these are not required.

When you are done adding your new link information, click on the Add Link button to save your new link …

click on Add Link to update your link settings

(Click on the Add Link button to update your link settings)

Important Info

Note: If you select the Keep this link private checkbox, the link will not be visible when links are displayed on your site …

Make your links private

(You can make links private by checking the box)

Making a link private lets you add a link and then toggle its visibility on and off without deleting it (this is useful if you would like the link to display during certain periods and hide it afterwards) …

Making links private toggles their visibility on and off

(Making links private toggles their visibility on and off)

To view all your links, click on Links > All Links in your navigation menu …

WordPress Links Menu - All Links

(Links Menu – All Links)

This brings up the ‘Links’ screen in your browser. The Links table displays all of your links and link information (e.g. URL, link categories, visibility, etc.) …

Links screen

(List of links)

Useful Tip

Tip: To show or hide options in the Links table, click on the ‘Screen Options’ tab at the top of the screen …

Screen Options - Links screen

(Table of links – Screen Options)

Enable/disable fields on your table of links by ticking/unticking their checkboxes …

Links screen - Hide or show screen options

(Hide or show – Table of links)

How To Edit Your Link Information

To modify a link, go to your WP dashboard navigation menu and select Links > All Links to bring up the list of links …

Links Menu - All Links

(Links Menu – All Links)

Locate the item you want to edit and click on Edit to bring up the item’s link information …

Editing your link information

(Editing your links)

Edit the link …

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 check that you have set up its URL correctly (the link will open up in a new window),
  • Click Delete to delete the link from your table …

Edit Link: Update Link button

(Update Link button)

How To Remove Your Links

To delete a link, select Links > All Links in the WP navigation menu …

Links - All Links

(WP Links – All Links)

The ‘Links’ table will display in your browser.

You can delete links individually, delete multiple links, or perform a bulk delete.

To delete links individually, hover 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 checkboxes next to individual links that you want deleted, or select all links by clicking on the main checkbox next to the ‘Name’ column header at the top of the list …

Deleting multiple links

(Delete multiple links)

Choose Delete from the ‘Bulk Actions’ drop-down menu, and click Apply to remove all selected links …

Links: bulk-delete function

(Links: bulk-delete function)

Your selected links will be removed …

Deleted links notification

(Link deletion notice)

Using The Plugin

Now that you know how to set up link categories and how to add, edit and delete links, let’s show you how to make links display on your website.

Links Widget

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

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

WP Appearance Menu - Widgets

(Appearance – Widgets)

This loads the ‘Widgets’ page in your browser.

You will notice that a ‘Links’ widget has been added to the Available Widgets section …

Links widget

(Links widget)

To make the ‘Links’ widget active, drag it to one of your widget sections in the Widgets page and drop it wherever you want the links section to display …

Add a links widget to your widget bar

(Add a links widget to a widgetized area)

The Links widget offers various configurable settings. You can specify what information you want to display about your links and how many links you would like to display on your sidebar …

Link widget settings

(Link widget settings)

You can also add multiple link widgets to your sidebar. This allows you to create and feature multiple lists of links on your site …

You can add multiple link widgets to your widget bars

(You can add a number of link widgets to your widget bars)

Select a link category from the ‘Select Link Category:’ pull-down menu …

Link widget options - Select Link Category

(Link widget options – Select Link Category)

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

Link widget options - Sorting options

(Link widget settings – Sorting options)

Once you are done setting up the Links widget, click the Save button to update your settings. Your links should appear on your sidebar, footer or wherever you place the widget in …

Links can be displayed on a 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 help with widgets? Go here to learn more about using widgets:

Links Manager – Additional Information

If you have loads of links, the Link Manager plugin lets you easily administer these with sort, filter, and search features.

Sorting Links

You can sort links by hovering your mouse cursor over the title of the column you want to sort and clicking on the little black triangle displayed next to the column title …

Sort your links

(You can sort links)

Find Links

Find links using the ‘Search Links’ button …

You can search your links using the search function

(You can find your links with the search function)

Filtering Links

You can filter links by link categories …

Filter links by link categories

(Filtering your links by categories)

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

searching and filtering links in the Link Categories page

(searching and filtering links in the Link Categories page)

This brings up a list of all links listed for a specific link category …

Links filtered by link category

(Links filtered by category)

Additional Link Options

If you plan to use links extensively on your website or blog, or if you want 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 look at using a plugin that can help you administer your links, like Link Library.

Link Library

Link Library

(Link Library WordPress Plugin)

Plugin Download URL

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

Plugin Description

This plugin allows you to publish a list of your link categories and a complete list of all your links plus descriptions and notes …

Link Library links

(List of links created with Link library. Image sourced from Link Library plugin documentation.)

This plugin creates a page on your website that contains a list of all of the link categories in your Links area, and all links defined for these categories. Additionally, 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 of your links that lets your site users be made aware of any additions made to to your link library.

To learn more about Link Library:

How To Add A WordPress Links Section

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

Tip

We have written a comprehensive article on how to easily add hyperlinks into your WordPress posts and pages. For more info, see this article:

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum

Originally published as How To Add A Link Section To WordPress.