IT Blog

  • Blog
  • Technology
    • Technology
    • Architecture
    • CMS
    • CRM
    • Web
    • DotNET
    • Python
    • Database
    • BI
    • Program Language
  • Users
    • Login
    • Register
    • Forgot Password?
  • ENEN
    • 中文中文
    • ENEN
Experience IT
In a World of Technology, People Make the Difference.
  1. Home
  2. Technology
  3. CMS
  4. Wordpress
  5. This article

Restoring the Links Manager

2021-02-08 149 Views 0 Like 0 Comments

WordPress Links Manager is a tool to manage a set of links. You can add, modify, and remove a link easily from admin dashboard. By default, WordPress come with a widget to add a sidebar, where the links will be shown.

The Links Manager is provided by default in earlier versions of WordPress than Version 3.5. However, the WordPress Links Manager and blogroll are hidden for new installs. Moreover, if you used an earlier version than 3.5 and upgraded your installation, then the Links Manager was removed if you don’t have any links.

Table of Contents

  • Restoring the Links Manager
    • 1. Using filter
    • 2. Change option value from database
  • Displaying Links in sidebar

Restoring the Links Manager

1. Using filter

Add the following line to your theme’s functions.php file to enable WordPress Links Manager if you are using WordPress version 3.5 or higher

To enable Links Manager in version 3.5+, just add the following code to one of the following locations:

  • functions.php file of the theme;
  • php snippets plugin;
  • your own plugin;
add_filter( 'pre_option_link_manager_enabled', '__return_true' );

Restoring the Links Manager

Once enabled, you can see a Links tag in the left panel of the dashboard.

Restoring the Links Manager

2. Change option value from database

If you can access the database you could enable it pritty easy by changing the option value in the database directly.

There is an option_name = 'link_manager_enabled' in wp_options table. You can set this value to 1 directly.

update wp_options set option_value=1 where option_name='link_manager_enabled';

What Link Manager plugin does is just to change this value in wp_option table behind the scene using filter function.

Displaying Links in sidebar

WordPress provides a widget within its Links Manager. So you can easily locate links in the sidebar or footer area. To do so, in the widget area, just drag the Links to the Blog Sidebar area.

Restoring the Links Manager

Not sure why WordPress decide to disable this function. Does it mean this is outdated and will not be available in the future versions? Actually this is useful function for most of cases, espectially for SEO. Hope it will be available by default in future versions.

 169 total views,  4 views today

error
fb-share-icon
Tweet
fb-share-icon
IT Team
Author: IT Team

Tags: Blog
Last updated:2021-02-08

IT Team

This person is lazy and left nothing

Like
< Previous
Next >

Comments

Cancel reply
Chinese (Simplified) Chinese (Simplified) Chinese (Traditional) Chinese (Traditional) English English French French German German Japanese Japanese Korean Korean Russian Russian
Newest Hotspots Random
Newest Hotspots Random
Fixing Kratos theme multi-language issue How to automatically translate a website to any language Controling Category List on Sidebar Widget Restoring the Links Manager Adding reCaptcha for user forms in WordPress Scheduling Background Job in WordPress
2021 最新 DotNet 资源大全
Tracking referral ID for registered user in WordPress Wordpress database model Passing parameters to event handler, setTimeout Recovering user role in WordPress CSS Tricks SQL Server Transaction Exception Handling Best Practice
Categories
  • Architecture
  • BI
  • C#
  • CSS
  • Database
  • Digital Marketing
  • DotNET
  • Hosting
  • HTML
  • JavaScript
  • PHP
  • Program Language
  • Python
  • Security
  • Technology
  • Web
  • Wordpress

COPYRIGHT © 2021 Hostlike IT Blog. All rights reserved.

THEME KRATOS MADE BY VTROIS