VigLink not showing in settings menu fix
-
Here’s what I did after the 4.1 upgrade the VigLink will not show in settings menu anymore.
Solutions:
Open and edit ” viglink.php ” fileLook for this line: (line 172)
/** * Add the options menu item to the sidebar settings panel */
Edit this line:
function viglink_options_menu() { // add the options page to the settings menu $page = add_options_page( "VigLink Options", "VigLink", "edit_plugins", __FILE__, "viglink_options" );
to
function viglink_options_menu() { // add the options page to the settings menu $page = add_options_page( "VigLink Options", "VigLink", "manage_options", __FILE__, "viglink_options", "viglink_options_page" );
Remove
"edit_plugins",
and replace with"manage_options",
Add
"viglink_options_page"
at the endJust compare the example given. You know what I mean…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘VigLink not showing in settings menu fix’ is closed to new replies.