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 Do I Add A Featured Links Section To The WordPress Sidebar Menu?As you continue to discover more about WordPress, you may occasionally come across the term blogroll.

In WordPress terminology, a list of links displayed on your sidebar 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 easily add external links to a widgetized theme.

Important

Before WordPress v3.5 was released, Links were a core feature of the WordPress CMS. From v3.5 onwards, the Links Manager section was hidden by default in new WordPress installations …

Before …

WordPress Links Feature - pre v3.5

(WordPress Links Manager – pre v.3.5)

After …

Post version 3.5 - no WordPress Links Manager

(Post v 3.5 – no WP Links Manager feature)

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 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 you can’t see a Links section on your main menu when you log into your WP admin area, you can add it via 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 WordPress plugins.

Link Manager

Link Manager Plugin

(Link Manager Plugin)

Download URL

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

Plugin Description

The Link Manager plugin restores the Links feature on your dashboard, 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 restore the hidden feature. The last time we checked, this plugin had not been updated for some time, but it should still work fine. If you don’t want to use this plugin, then use the plugin below instead, or contact us for help editing your template code.

Simple Links

Simple Links - Links Manager Plugin For WordPress

(Simple Links WordPress Plugin)

Download 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 feature.

Installing The Plugin

To install the Link Manager plugin, follow these instructions:

In your WordPress dashboard area, go to Plugins > Add New …

Plugins Menu - Add New

(Plugins Menu – Add New)

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

How To Install Link Manager

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

Installing The Plugin

Activate the plugin …

Plugin Installation

After the plugin is activated, WordPress displays a ‘Links’ item on your navigation menu …

WordPress links menu section

(Links menu)

Setting Up The Plugin

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

Link Categories

To create a new link category, go to the admin menu and choose Links > Link Categories …

WordPress Links Menu - Link Categories

(WP Links Menu – Link Categories)

You will be taken to the ‘Link Categories’ page.

Enter information into the following fields:

  • Name: Enter the category name here.
  • Slug: The slug is the URL bit of the link category name. 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)

When finished, click Add New Link Category to save your new link category name …

Link Categories

(Link Categories screen)

Your new category will display in the list …

Link Categories

(Link Categories)

Tip

Tip: WordPress calls its default link category Blogroll . Unless you specify a category when creating a new link, WordPress automatically assigns new links to the default category …

Default link category name is 'blogroll'

(Default link category name is ‘blogroll’)

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

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

(Consider changing the default link category name to something better suited to your business)

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

Quick Edit

(Editing the link category name)

Change 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 the Update link Category button …

Quick Edit

(Edit the default link category name)

Replace the category name ‘Blogroll’ with a name more suitable to your purposes (e.g. ‘Recommended’, ‘Our Sponsors’ etc).

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

Link category description

(You can add/edit the category description)

Add your link category description field and click Update …

Edit Link Category area

(Edit Link Category area)

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

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

How To Add New Links

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

WP Links Menu - Add New

(WordPress Links Menu – Add New)

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

Add New Link screen

(Add New Link screen)

You can also access this page by clicking on the ‘Add New’ button at the top of the main Links page …

Links page - Add New Link button

(Add New Link button)

The ‘Add New Links’ page is divided into the following sections:

Name, Web Address & Description

Enter details about your link in this section …

Name, Web Address& Description fields - Add New Link screen

(Name, Web Address& Description)

Enter information into the following fields:

  • Name: Whatever you enter in this field is the category name that will display on your site.
  • Slug: The slug shows up in the URL of the 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.
Categories & Target

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

Add New Link - Categories & Target

(Categories & Target section)

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

Next, 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 a separate browser window will open up to display the content associated with the link.
  • _none means that when a visitor clicks on the link, they will exit your site and a new site or page will load in your 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) fields

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

Link Relationship (XFN) – XFN stands for XML Friends Network – allows you to define your relationship to the linked person. For example, if you work with Emily O’Malley and you link to her blog, you would probably tick co-worker or colleague.

XFN relationships are optional. You can leave everything in this section blank and all your links will work just fine. XFN makes the links defined on your site more understandable to some sites and search engines that use this information.

rel – This field specifies 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. Separate multiple ‘rel’ keywords with spaces.

You can learn more about XFN by visiting this site:

Advanced

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

Add New Link - 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. Add the URL of your image and make sure that your image is small (around 16×16 like a favicon).
  • RSS Address: If your theme allows it, the RSS feed associated with the link can display next to the 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 into the above fields or just leave this section blank, as these are not essential.

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

click on Add Link to update your link settings

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

Useful Info

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

Make links private by selecting the checkbox

(Make your links private)

Making a link private lets you toggle link visibility on and off without deleting it (this is useful if you want to use seasonal links) …

Toggle link visibility on and off

(Toggle link visibility on and off)

To see all the links you have created, go to the navigation menu and choose Links > All Links …

WP Links - All Links

(Links Menu – All Links)

The ‘Links’ screen will load in your browser. The Links table displays a list of all your links and link information (e.g. URL, link categories, visibility, etc.) …

Links table

(Links table)

Useful Tip

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

Screen Options - List of Links

(Links table – Screen Options)

Show/hide fields on your table of links by selecting/deselecting their checkboxes …

Links page - Hide or show screen options

(Hide or show – Links page)

Editing Link Information

To edit links, go to the dashboard menu and choose Links > All Links to bring up the links screen …

Links Menu - All Links

(Links Menu – All Links)

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

Editing your link information

(Editing links)

Change the link …

Edit Link screen

(Edit Link page)

After editing your link, you can:

  • Click the Update Link button to save your link details,
  • Click on Visit Link to see your link and make sure that you have set up its URL correctly (your link will open up in a new window),
  • Click Delete to delete the link …

Update Link button

(Edit Link: Update Link button)

Deleting Links

To remove a link, choose Links > All Links in your WP dashboard menu …

Links - All Links

(WordPress Links – All Links)

The ‘Links’ table will load in your web browser.

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

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

Deleting links

(Deleting links)

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

Deleting multiple links

(Deleting multiple links)

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

Links: bulk-deletion function

(Bulk-delete links)

The links will be removed …

Deleted links notice

(Link deletion 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 make links display on your site.

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 your dashboard menu and choose Appearance > Widgets …

WP Appearance Menu - Widgets

(WordPress Appearance – Widgets)

This takes you to the ‘Widgets’ screen.

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

Links widget

(Links widget)

Drag the ‘Links’ widget to one of your widget areas in the Widgets page and drop it wherever you would like your links to display …

Drag and drop the links widget to add it to a widgetized area

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

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

Link widget - options

(Link widget settings)

You can add multiple link widgets to your sidebars and footers. This allows you to add and display various link sections throughout your site …

Add a number of 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:’ pulldown menu …

Link widget options - Select Link Category

(Link widget settings – Select Link Category)

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

Link widget options - Sorting options

(Link widget options – Sorting options)

When you have finished configuring your Links widget, click the Save button to update your settings. Your links should show on your sidebar …

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? Go here if you want to learn more using widgets:

Link Manager – Additional Information

If you have many links, the Links Manager plugin lets you easily administer these with sorting, searching, and filtering functionality.

Sorting Your Links

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

Sort your links

(Sorting your links)

Finding Links Function

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

You can search your links using the search function

(Find your links)

Filter Your Links

You can filter links by category …

Filtering links by link category

(Filtering your links by link category)

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 screen

(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 link category)

Additional Link Options

If you plan to add lots of links to your website or blog, or if you would like 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 links, like Link Library.

Link Library

Link Library

(Link library – Plugin For WordPress)

Plugin URL

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

Plugin Description

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

Link Library links

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

Link Library can be used to create 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. 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 so that your site users can become aware of any additions made to to your link library.

Visit this site for more details about the benefits of using this powerful plugin:

How Do I Add A Blogroll Section To My WordPress Sidebar Menu?

Congratulations! Now you know how to add external links to your WordPress site.

Useful Tip

We have written a comprehensive article on how to easily add HTML links in your WordPress posts. For more details, go here:

***

"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum