Admin top level menu, pointing to an external url

Just add your custom item into $menu instead of $submenu. Use here as a reference for parent menu structure. http://core.trac.wordpress.org/browser/tags/3.2.1/wp-admin/menu.php Eg. add_action( ‘admin_menu’ , ‘admin_menu_wpse32975’ ); function admin_menu_wpse32975() { global $menu; $menu[9999] = array( __(‘My Menu’), ‘manage_options’, ‘http://www.google.com’, ”, ‘open-if-no-js menu-top’, ”, ‘div’ ); }

Disable the “remember me” to wp-admin

You can do it with JavaScript (jQuery) or outputbuffering. A combination of both (outputbuffering and JS) are in the script below. PHP: namespace WPSE77581; add_action( ‘plugins_loaded’, ‘WPSE77581\remove_forgetmenot’, 10, 0 ); function remove_forgetmenot() { add_action( ‘login_enqueue_scripts’, ‘WPSE77581\enqueue_script’, 10, 0 ); add_action( ‘login_head’, ‘WPSE77581\start_outputbuffer’, 1, 0 ); add_action( ‘login_footer’, ‘WPSE77581\end_outputbuffer’, 1, 0 ); } function enqueue_script() { … Read more

Making Comments, a sub_menu in admin menu

Well one way to do it would be to add a new sub menu page and just remove the old one. function wpse_80457_menu() { add_submenu_page( ‘edit.php’, ‘Comments’, ‘Comments’, ‘manage_options’, ‘edit-comments.php’); remove_menu_page( ‘edit-comments.php’ ); } add_action(‘_admin_menu’, ‘wpse_80457_menu’);

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