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.
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' );
Once enabled, you can see a Links tag in the left panel of the dashboard.
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.
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.
703 total views, 4 views today