How to re-enable the links manager?
-
05-05-2021 - |
Domanda
There is no links manager in the admin_menu of Wordpress 3.5.1 anymore. I'm creating a custom add_links_page, and I'm having a hard time with the making a plugin.
Do I need to initialize something to show the links page?
Soluzione
It's commonly activated through:
add_filter( 'pre_option_link_manager_enabled', '__return_true' );
The suggested Link Manager
plugin only contains this code line.
Altri suggerimenti
To re-enable the link manager, add the following line to your theme's functions.php
file (child theme recommended):
add_filter( 'pre_option_link_manager_enabled', '__return_true' );
Or go in you wp database, in the (wp_)options table find the option "link_manager_enabled" and change the value from 0 to 1 (option_id should be 86)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a wordpress.stackexchange