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 WordPress Featured Links SectionAs you continue to learn more about using WordPress, you may occasionally come across references to the term blogroll.

A blogroll is a list of links pointing to other websites or blogs displayed on your sidebar menu.

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 manage a blogroll using the Links menu in your WordPress Dashboard. These links will display on your blog once you add the Links widget.

Important

Before the release of WordPress v 3.5, Links were a built-in feature of the WordPress CMS. From v 3.5 onwards, the Links Manager section was removed …

Before …

WP Links Manager Feature - pre version 3.5

(WordPress Links Menu – pre v.3.5)

After …

Post v3.5 - no WP Links Manager

(The Links Manager – excluded from WordPress after WP version 3.5)

If you have had an earlier version of WordPress than v 3.5 installed and upgraded your installation, the Links Manager would be removed, unless you’ve previously used it.

 

How To Add A Link Section To WordPress

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. In this tutorial, you will learn how to add and manage blogroll links on your sidebar using plugins.

Link Manager

Link Manager

(Link Manager)

Plugin URL

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

Description Of Plugin

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

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

Simple Links

Simple Links

(Simple Links Plugin)

Download URL

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

Description Of Plugin

This plugin recreates the concept of the built-in WP Links Manager while removing the shortcomings of the deprecated functionality.

Plugin Installation

To install the Link Manager plugin, follow the step-by-step instructions below:

From the WordPress administration area, go to Plugins > Add New …

Plugins Menu - Add New

(Plugins Menu – Add New)

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

How To Install Link Manager

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

How To Install Link Manager

Activate the plugin …

Plugin Installation

After activation, WordPress will restore the ‘Links’ function to your WP sidebar menu …

Links management menu section

(Links management menu section)

Plugin Configuration

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

Link Categories

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

Links - Link Categories

(Links – Link Categories)

The ‘Link Categories’ page will load in your browser.

Type in information into the following fields:

  • Name: Enter the link category name.
  • Slug: The slug is the web address part of the link category. Use lowercase letters only and do not include spaces (use hyphens to separate words).
  • Description: Some themes may display your link category description. (Optional)

Click Add New Link Category to save …

Link Categories

(Link Categories)

The category details will display in the list …

Link Categories

(Link Categories page)

Important

Tip: Blogroll is the default link category name. Unless you specify the category when adding 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 your visitors can relate to. This not only makes it easier for users of your site, but any new links that you add to your site will automatically be listed under the new category name …

Change the default 'blogroll' to something better suited to your business

(Consider changing the default ’blogroll’ to something your visitors will understand)

To edit the default category name, hover your mouse over the item and click on the Quick Edit link …

Quick Edit

(Editing the link category name)

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

Update Link Category

(Update Link Category)

In our example, the category name ‘Blogroll’ has been replaced with a more suitable category name (e.g. ‘Recommended’).

Let’s now add a description for this link category. To add a link category description, click on Edit under the category name …

Link category description

(You can add/edit your category description)

Enter your description in the ‘Edit Link Category’ screen and click Update …

Edit Link Category page

(Edit Link Category area)

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

Once you have finished setting up your link categories, you can add new links.

How To Add Links

To add a new link, go to your navigation menu and select Links > Add New …

Links Menu - Add New

(Links Menu – Add New)

This takes you to the ‘Add New Link’ screen …

Add New Link screen

(Add New Link page)

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

Links screen - Add New Link button

(Links page – Add New Link button)

The ‘Add New Links’ page has various sections:

Name, Web Address & Description

Enter your link details in this section …

Name, Web Address& Description

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

Enter information into the following fields:

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

Select a Category and Target for your link …

Categories & Target

(Add New Link screen – Categories & Target)

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

Also, select a target frame for your link in the Target section by choosing one of the radio buttons. 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 window will open up in their web browser to display the information for that link. Your visitor can access the information without leaving your page
  • _none means that when a visitor clicks on your link, they will exit your site and a new site or page will load in your 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 area provides some additional link functionality …

Add New Link page - Link Relationship (XFN)

(Link Relationship (XFN) – Add New Link page)

Link Relationship (XFN) – XFN stands for XML Friends Network – lets you define your relationship to the linked person. For example, if you have a professional relationship with Jake Fields and you link to his blog, you would probably check co-worker or colleague.

XFN relationships are optional for WordPress links. You can leave everything in this section blank and your links will still work. 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 specifies 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. Other ‘rel’ attributes include author, index, help, start, etc. Separate multiple ‘rel’ keywords with spaces.

To learn more about XFN, visit the site below:

Advanced

The last section of the Add New Link’ page lets you enter Advanced features for your links (You can ignore this section, unless there’s a good reason to use it) …

Advanced link settings - Add New Link screen

(Advanced fields)

The Advanced section contain the following fields:

  • Image Address: Lets you specify an image to be displayed with the link. To use this feature, add the URL of your image 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 will display next to the link.
  • Notes: Add notes about the link in this section for your own internal reference.
  • Rating: 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 blank, as these fields are not essential.

When you have finished adding information about your link, click on the Add Link button to update your link settings …

click on the Add Link button to update your link settings

(Click on Add Link to update your link settings)

Important Info

Note: If you tick the checkbox next to Keep this link private, the link will not be visible in your Links section …

Make links private by checking the box

(Make links private by checking the box)

Making links private lets you add links and then toggle their visibility on or off without deleting your links (this is useful if you would like links to display during certain times and hide them afterwards) …

Making links private toggles their visibility on and off

(Toggle link visibility on and off)

To see all your links, select Links > All Links in the WP dashboard menu …

WordPress Links Menu - All Links

(Links Menu – All Links)

The ‘Links’ screen will display in your web browser. The list of links displays all of your links and link information (e.g. link URL, link categories, relationship, etc.) …

List of Links

(Links table)

Practical Tip

Tip: To view or hide information in the Links page, click on the ‘Screen Options’ tab at the top of the screen …

Screen Options - Links screen

(Links page – Screen Options)

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

Hide or show - Table of links

(Hide or show – Table of links)

How To Edit Links

To edit a link in the Link Manager, go to your WP admin menu and select Links > All Links to bring up the table of links …

WordPress 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 link information

(Editing your links)

Change the link …

Edit Link screen

(Edit Link page)

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

  • Click on Update Link to save and update your link details,
  • Click on Visit Link to make sure 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

(Update Link button)

Removing Your Links

To remove a link, click on Links > All Links in your WP navigation menu …

WordPress Links - All Links

(Links – All Links)

This takes you to the ‘Links’ page.

You can delete links individually, delete multiple links, or remove all your links at once.

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

Delete your links

(Deleting your links)

To delete links in bulk, either click on the checkboxes next to individual items that you would like removed, or select all links by clicking on the main checkbox next to the ‘Name’ column header …

Delete multiple links

(Delete multiple links)

Select Delete from the ‘Bulk Actions’ menu, and click the Apply button to remove all selected links …

Links: bulk-delete function

(Bulk-delete links)

The links will be deleted …

Link deletion notice

(links deleted notification)

Plugin Usage

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

Using The Links Widget

Installing the Links Manager plugin adds a ‘Links’ widget to your ‘Widgets’ page.

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

Appearance - Widgets

(Appearance – Widgets)

The ‘Widgets’ page will display in your browser.

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

Links widget

(Links widget)

Drag the ‘Links’ widget to one of the widget sections in the Widgets screen and drop it wherever you want your links to show up …

Add a links widget to a widgetized area using drag and drop

(Drag and drop your links widget to add it to a widgetized menu)

The Links widget includes a number of settings. You can specify what information you would like to show about your links and how many links you would like displayed on your sidebar …

Link widget - settings

(Link widget - options)

You can also add as many link widgets as you want. This allows you to create and display link lists sorted by categories on your site …

Add a number of link widgets to your sidebar

(Add a number of link widgets to your sidebar)

Select a link category to display specific links …

Link widget options - Select Link Category

(Link widget options – Select Link Category)

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

Link widget settings - Sort by options

(Link widget options – Sorting options)

Once you are done configuring your links widget, click the Save button to update your settings. Your links will display on your sidebar, footer or any widgetized area you have placed 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.

Practical Tip

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

Link Manager – Additional Information

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

Sorting Links

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

Sorting your links

(You can sort your links)

Search Your Links

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

You can easily find links with the search function

(Find links function)

Filter Links Function

You can filter links by link category …

Filtering links by link categories

(Filtering links by link category)

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

Search and filter links in the Link Categories screen

(Search and filter links in the Link Categories page)

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

Links filtered by link category

(Links filtered by category)

Additional Link Options

If you plan to add lots of links to your website, 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 Plugin

(Link library – WordPress Link Management Plugin)

Plugin Download URL

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

Plugin Description

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

List of links created with Link library

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

Link Library can be used to create a page on your site containing all the link categories in your Links area, plus 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 link collection that lets your site users become aware of any additions made to to your link library.

Visit the plugin website to learn more about the benefits of using this powerful plugin:

Adding A WordPress Blogroll Section

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

Tip

We have written a comprehensive article on how to insert links into your WordPress content. For more info, see this article:

***

"I have used the tutorials to teach all of my clients and it has probably never been so easy for everyone to learn WordPress ... Now I don't need to buy all these very expensive video courses that often don't deliver what they promise." - Stefan Wendt, Internet Marketing Success Group

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