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 A Blogroll Section To The WordPress SidebarAs you continue to discover more about the benefits of using WordPress, you may occasionally come across references to the term blogroll.

A blogroll is a list of hyperlinks pointing to other sites or web pages that display 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 display a links section on your site using the Link Manager plugin for WordPress.

Important

Before the release of WordPress v3.5, Links were a visible feature of the WordPress CMS. After the release of version 3.5, the Links manager and blogroll sections were removed …

Before …

The Link Manager  - part of the WordPress dashboard menu until the release of WP version 3.5

(The Links Manager feature was part of the WordPress admin menu until the release of WordPress v.3.5)

After …

Links  - excluded from the admin menu after WP version 3.5

(Post v3.5 – no WordPress Links feature)

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

 

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 admin area, you can add it via a plugin. This step-by-step tutorial shows you how to add, edit, delete and manage links on your sidebar using WordPress plugins.

Link Manager

Link Manager

(Link Manager WordPress Plugin)

Download URL

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

Plugin Description

You can use this plugin to display the built-in Links menu on your WP dashboard, even if you upgrade WordPress to a later version or remove all of your current links.

Note: All this plugin does is add a single line of code 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 the Link Manager plugin, then use the plugin below instead, or contact us for help editing your template code.

Simple Links

Simple Links Plugin

(Simple Links Plugin)

Plugin Download URL

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

Description

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

Installing Link Manager

To install the Link Manager plugin, do the following:

In the WP dashboard area, select Plugins > Add New …

Plugins - Add New

(Plugins Menu – Add New)

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

Plugin Installation

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

Plugin Installation

Activate the plugin …

Plugin Installation

After activation, a ‘Links’ section will be displayed in the WP sidebar menu area …

WordPress links menu section

(WordPress links management menu section)

Configuring Link Manager

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

Link Categories

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

Links Menu - Link Categories

(Links – Link Categories)

This brings up the ‘Link Categories’ page in your browser.

Enter the following information:

  • Name: Enter the link category name.
  • Slug: The slug is the URL part of the link category. Use lowercase letters only without spaces (use hyphens to separate words).
  • Description: Some themes may display a link category description.

When done, click Add New Link Category to save …

Link Categories

(Link Categories)

The new category will display in the table …

Link Categories

(Link Categories area)

Tip

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

Default link category

(Default link category)

You may want to change the default WordPress link category name to something that your visitors can relate to. This not only makes it easier for visitors, but any new links that you add to your site will automatically be assigned to the new category name …

Change the default link category name to something your visitors will relate to

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

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

Quick Edit

(Quick Edit)

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 Update Link Category …

Editing the default link category name

(Edit the default link category)

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

Let’s now add a link category description. 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 area

(Edit Link Category page)

Repeat the above process to add as many link categories as you need.

After configuring your link categories, you can start adding your links.

How To Add New Links

To create a new link, choose Links > Add New in the WP dashboard menu …

Links - Add New

(Links Menu – Add New)

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

Add New Link screen

(Add New Link page)

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

Links page - Add New Link button

(Links – Add New Link button)

The ‘Add New Links’ page is divided into a number of sections:

Name, Web Address & Description

Enter your link details in this section …

Name, Web Address, Description - Add New Link screen

(Name, Web Address, Description)

Enter the following information:

  • Name: What you type here is the category name that will display on your site.
  • Slug: The slug is the SEO friendly URL bit of your 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 in the links section, or as a tool tip when visitors hover over the link name.
Categories & Target

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

Categories & Target section

(Categories & Target – Add New Link)

In the Categories section, tick a link category you’ve already set up, 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 where you want your link to open when a visitor clicks on it:

  • _blank means that a separate browser window will open up to display the information associated with the link. Your visitor will be able to see the link information without leaving your page
  • _none means that when a visitor clicks on your link, they will leave 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 ignore this option.
Link Relationship XFN

This section provides some additional link functionality …

Link Relationship (XFN) - Add New Link

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

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

XFN relationships are optional. You can leave everything in this section blank and your links will still work. Defining relationships with XFN makes the links defined on your site more understandable to some websites 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 what relationship exists between the current document and the linked document. For example, if you don’t want search engines to follow your link, enter nofollow into this field. Other ‘rel’ attributes include author, index, help, start, etc.

You can learn more about XFN by visiting this site:

Advanced

The last section of the Add New Link’ screen 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 page - Advanced link settings

(Add New Link page – Advanced link settings)

The Advanced section fields include the following:

  • Image Address: Lets you specify an image to be displayed with the link. 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 display next to your links.
  • Notes: Add notes about the link in this section 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 are done adding information about your link, click on Add Link to update your link settings …

click on Add Link to update your link settings

(Click on Add Link to update your link settings)

Info

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

Make links private by selecting the checkbox

(You can make links private by checking the box)

Making links private allows you to toggle their visibility on or off without deleting your links (this is useful if you want to use seasonal links) …

Toggle link visibility on and off

(Toggle link visibility on and off)

To see a list of all the links you have added, click on Links > All Links in the main admin menu …

WordPress Links Menu - All Links

(WordPress Links – All Links)

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

Links screen

(Table of links)

Useful Tip

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

Screen Options - Table of Links

(Screen Options – Links table)

Display/hide information on your table of links by ticking/unticking their checkboxes …

Show/hide - List of links

(Show/hide links)

Editing Links

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

Links Menu - All Links

(WP Links Menu – All Links)

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

Editing link information

(Editing links)

Edit the link …

Edit Link page

(Edit Link screen)

After editing the link, you can:

  • Click the Update Link button to save and update your link details,
  • Click on Visit Link to make sure that you have set up everything correctly (the link will open up in a new window),
  • Click Delete to delete the link if it’s no longer required …

Update Link button

(Update Link button)

Removing Your Links

To remove links, choose Links > All Links in your navigation menu …

WordPress Links Menu - All Links

(Links Menu – All Links)

You will be taken to the ‘Links’ screen.

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

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

Delete links

(Deleting your links)

To delete a number of links at once, either tick the checkboxes next to individual links that you would like deleted, or select all links by clicking on the main check box next to the ‘Name’ column header …

Deleting multiple links

(Delete multiple links)

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

Bulk-delete links

(Bulk-delete links)

The links you have selected will be removed …

Link deletion notification

(Link deletion message)

Plugin Usage

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

Links Widget

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

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

WP Appearance - Widgets

(Appearance – Widgets)

This loads the ‘Widgets’ screen in your web browser.

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

Links widget

(Links widget)

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

Drag and drop your links widget to add it to your sidebar

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

The Links widget offers various options. For example, you can specify what information you want displayed about your links and how many links you would like displayed on your sidebar …

Link widget options

(Link widget options)

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

You can add multiple link widgets to your widget bars

(You can add multiple link widgets to your widget bars)

Select a link category from the ‘Select Link Category:’ pulldown menu …

Link widget settings - 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 settings - Sorting options

(Link widget options – Sorting options)

When you have finished configuring the Links widget, click Save to update your settings. Your link section will show on your site’s 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 with widgets? We have written a detailed article about using widgets. Go here to learn more about this:

Links Manager – Additional Information

If you have added many links, the Link Manager plugin allows you to easily administer these using filter, sort, and search functionality.

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 …

Sorting your links

(Sort your links)

Searching Links

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

Find your links

(Searching links)

Filter Links Function

You can filter links by link categories …

Filter your links by category

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

searching and filtering links in the Link Categories screen

(searching and filtering links in the Link Categories page)

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

Links filtered by category

(Links filtered by category)

Additional Link Options

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

Link Library

Link Library Plugin

(Link library – Plugin For WordPress)

Plugin Download URL

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

Plugin Description

The Link Library plugin allows you to output a list of all your link categories with a complete list of all your links plus descriptions and notes …

List of links created with Link library

(List of links created with Link library. Image: Link Library plugin site.)

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

To learn more this WordPress plugin, visit this website:

How Do I Add A Featured Links Section To WordPress?

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

Useful Tip

Go here if you would like to learn more about how to easily add HTML links in WordPress:

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org