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 Links To Your WordPress SiteAs you learn more about WordPress, you may occasionally come across something called a blogroll.

In WordPress terminology, a list of hyperlinks displayed on your sidebar menu is often 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.”

You can display links on your website using the Link Manager plugin for WordPress.

Info

Prior to the release of version 3.5, Links were a visible feature of the WordPress CMS. From v.3.5 onwards, the Link Manager section was removed …

Before …

The Links Manager feature appeared in the menu until the release of WordPress v.3.5

(Links – included in the menu until the release of WP version 3.5)

After …

Post v.3.5 - no WordPress Links Manager

(Post v3.5 – no WP Links Manager)

If you have had an earlier version than v 3.5 installed and upgraded your installation, then the Link Manager would have been removed, unless you have previously used it.

 

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 Links Manager is not visible when you log into your WP 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 sidebar using plugins.

Link Manager

Link Manager Plugin

(Link Manager)

Download URL

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

Description

You can use this plugin to restore the Links Manager, even if you update to a later version of WordPress or remove all of your current links.

Note: All this plugin does is add a single line of code to WordPress to restore the hidden feature. When we last checked, the plugin had not been updated for a while, 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 template code.

Simple Links

Simple Links Plugin

(Simple Links WordPress Plugin)

Plugin URL

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

Description

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

Installing Link Manager

To install the Link Manager plugin on your website or blog, follow these step-by-step instructions:

From your WP admin menu, select Plugins > Add New …

Plugins - Add New

(Plugins – Add New)

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

Plugin Installation

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

Installing The Plugin

Activate the plugin after installing it …

Installing Link Manager

After the plugin has been activated, WordPress adds a ‘Links’ item to the dashboard menu area …

WordPress links management menu

(Links menu section)

Plugin Configuration

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

Link Categories

To create a new link category, select Links > Link Categories in the dashboard navigation menu …

WordPress Links - Link Categories

(Links Menu – Link Categories)

This takes you to the ‘Link Categories’ screen.

Type in the following information:

  • Name: Enter the link category name here.
  • Slug: The slug shows up in the search-engine friendly URL of the link category name. Only use lower case letters without spaces (use hyphens to separate words).
  • Description: Some themes may display your link category description.

Click Add New Link Category to save your new link category name …

Link Categories

(Link Categories page)

Your link category will be added to the list …

Link Categories page

(Link Categories)

Important

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

Default link category name

(Default link category)

You may want to change this to something that your visitors can relate to. This will not only make it easier for visitors, but any new links that you add to the Links section will automatically be assigned to the new category name …

Change the default link category name to something better suited to your business

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

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

Quick Edit

(Editing the default link category)

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

Quick Edit

(Quick Edit)

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

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

Link category description

(You can add/edit the category description)

Enter your link category description field and click Update you’re done to save your settings …

Edit Link Category area

(Edit Link Category screen)

Repeat the above process to add as many link categories as your site needs.

Once you have set up your link categories, you can add your links.

Adding Links

To create a new link, go to the navigation menu and choose Links > Add New …

Links - Add New

(Links Menu – Add New)

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

Add New Link page

(Add New Link page)

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

Add New Link button

(Links screen – Add New Link button)

The ‘Add New Links’ page has the following sections:

Name, Web Address & Description

This section is where you enter details about your link …

Name, Web Address& Description fields

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

Enter the following information:

  • Name: Enter the category name here.
  • Slug: The slug is the 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 your link category description in the links section, or as a tool tip when visitors hover over the link name. (Optional)
Categories & Target

After adding link details, select a Category and Target for your new link …

Categories & Target area - Add New Link page

(Categories & Target area)

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

Also, 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 visitors click on the link, a new, separate window will open up in their browser to display the information for that link.
  • _none means that when visitors click 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. Ignore 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) area

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

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

XFN relationships are optional for WordPress links. You can ignore this section and all of your links will work just fine. 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 a 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 this site:

Advanced

The last section allows you to specify Advanced features for your links (some themes will ignore this. You can leave these fields empty unless you have a reason to use them) …

Advanced link settings - Add New Link screen

(Advanced area)

The Advanced link settings section includes the following:

  • Image Address: Specify an image to be displayed with the link. To use this feature, add the URL of where the image is located and make sure that the image is small (around 16×16 like a favicon).
  • RSS Address: If your theme allows it, the RSS feed associated with the link can be displayed next to your link.
  • 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 into the above fields or just leave this section blank, as these are not essential.

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

click on the Add Link button to save your new link

(Click on Add Link to update your link settings)

Important

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

Make your links private

(Private link checkbox)

Making links private lets you toggle their visibility on and off without deleting these (this is useful if you want to add seasonal links) …

Toggle link visibility on and off

(Making links private toggles their visibility on and off)

To see a list of all the links you have created, select Links > All Links in your WP navigation menu …

Links - All Links

(Links Menu – All Links)

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

Links screen

(Table of links)

Useful Tip

Tip: To display additional fields in the list of links, click on the ‘Screen Options’ tab at the top of the screen …

Links page - Screen Options

(Links table – Screen Options)

Enable/disable information on your Links table by selecting/deselecting their checkboxes …

Hide or show - List of links

(Table of links – Show/hide screen options)

How To Edit Your Link Information

To modify links, select Links > All Links in the main admin menu to bring up your list of links …

Links Menu - All Links

(Links Menu – All Links)

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

Editing link information

(Editing link information)

Edit your link information …

Edit Link page

(Edit Link page)

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

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

Edit Link: Update Link button

(Edit Link: Update Link button)

How To Delete Links

To delete a link from the Link Manager, go to the main dashboard navigation menu and click on Links > All Links …

Links Menu - All Links

(Links Menu – All Links)

The ‘Links’ table will load in your browser.

You can delete links individually, delete multiple links by selecting their check boxes, or delete all your links.

To delete individual links, hover over the link title that you want to remove and click on Delete …

Delete your links

(Deleting your links)

To delete links in bulk, either tick the checkbox next to each link that you would like to delete, or select all links by clicking on the checkbox next to the ‘Name’ column header …

Delete multiple links

(Delete multiple links)

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

Bulk-deletion of links

(Links: bulk-delete function)

The links you have selected will be deleted …

Deleted links notice

(links deleted message)

Using The Link Manager Plugin

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

Links Widget

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

To access and configure your Link widgets, select Appearance > Widgets in the main dashboard navigation menu …

WP Appearance - Widgets

(Appearance – Widgets)

This takes you to the ‘Widgets’ page.

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

Links widget

(Links widget)

To make the ‘Links’ widget active, drag it to one of the active widget areas and drop it wherever you want the links to show up …

Add a links widget to a widgetized menu

(Adding a links widget to a widgetized area)

The Links widget offers various settings. For example, you can specify what information you want to display about your links and how many links you want to display on your sidebar …

Link widget - configurable settings

(Link widget - configurable options)

You can add multiple link widgets to your sidebar and footer. This allows you to add and feature link categories on your site …

Add multiple link widgets to your sidebar

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

Select a link category to display a specific list of items …

Link widget options - Select Link Category

(Link widget settings – Select Link Category)

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

Link widget settings - Sort by options

(Link widget options – Sorting options)

When you have finished configuring your links widget, click Save to update your settings. Your link section will become visible on your sidebar …

Links can be displayed on your site's sidebar

(An example of how links can be displayed on a 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.

Useful Tip

Need more help using widgets? We have written a comprehensive article about adding widgets. If you are interested in learning more here:

Link Manager – Additional Information

If you have loads of links, the Link Manager plugin lets you easily administer these with sorting, searching, and filtering 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 triangle displayed next to the column title …

Sort links

(Sorting your links)

Search Your Links

Search for links using the ‘Search Links’ button …

Search your links

(You can search links with the search function)

Filter Links Function

You can filter links by categories …

Filter your links by category

(Filter your links by link 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 links in the ‘Links’ column …

Search and filter links in the Link Categories page

(Search and filter links in the Link Categories page)

This displays 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 add a lot of links to your website, or if you want to add a ‘Links’ page 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 your links.

Link Library

Link Library

(Link Library)

Download Plugin URL

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

Plugin Description

This plugin lets you output a list of all your link categories and a complete list of all your links together with notes and descriptions …

Link Library links

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

Link Library can be used to create a page on your site that contains a list of all of the link categories in your Links section, 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 of your links so that your site users can be made aware of any additions made to to your link library.

To learn more about the Link Library plugin:

How Do I Add Links To WordPress?

Congratulations! Now you know how to add a link section to WordPress.

Useful Tip

We have also written a detailed article on how to insert HTML hyperlinks into WordPress here:

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now