add_menu_page does not render the expected result

as the 5 parameter to add_menu_page() you send the resultat of running the function, insted of sending a callable reference to the function, as you did in the add_action. $hookname = add_menu_page ( ‘My Slider’, ‘My Slider’, ‘manage_options’, ‘my_slider’, array( ‘My_Slider’, ‘render_admin_menu’) );

Plugin permissions for Editor role

manage_options is an admin role so I’d still try and changing it even if you’ve changed the roles elsewhere. See http://codex.wordpress.org/Roles_and_Capabilities#Editor for more info. Try the following: add_options_page(‘Orbisius Simple Notice’, ‘Orbisius Simple Notice’, ‘edit_others_posts’, __FILE__, ‘orbisius_simple_notice_options_page’);

Dynamic WordPress Admin Panel

WordPress admin pages are typically created using add_menu_page() function that takes care of menu entry and calls custom function (provided by you) to generate content of the page. Obviously content of the page is arbitrary and should be easy to modify conditionally, using current_user_can() or other necessary checks.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)