WordPress admin section appears broken

In your screenshot I can see at least 3 menu items that were added by a plugin. Standard practice when WP breaks after an update is to: Disable all plugins (You can rename the /wp-content/plugins directory to turn them all off at once). Revert to the default (TwentyEleven) theme Then you can re-enable your plugins … Read more

Admin: Custom Query Returning Permissions Error

I think the problem is that by just appending ?deleteUser=XX you get an ‘illegal’ url, for example: http://localhost/wordpress/wp-admin/edit.php?post_type=type&page=mypage?deleteUser=xxx Instead, use WordPress’ add_query_arg: $url = $_SERVER[‘REQUEST_URI’]; $url = add_query_arg(‘test’,’val’,$url); which gives: http://localhost/wordpress/wp-admin/edit.php?post_type=type&page=mypage&deleteUser=xxx Personally, I wouldn’t use $_SERVER[‘REQUEST_URI’]; and instead hard-code the url of the page using admin_url. Also, see @Joshua comments on using the WordPress in-built … Read more

How to change a specific admin label

You could try that with the gettext filter in the following manner. function rename_header_to_logo( $translated, $original, $domain ) { $strings = array( ‘Header’ => ‘Logo’, ‘Custom Header’ => ‘Custom Logo’, ‘You can upload a custom header image to be shown at the top of your site instead of the default one. On the next screen … Read more

Edit page header on a custom plugin

NOTE This code will load those scripts on all admin pages. Better you go through the Codex examples to get an idea how you can load the scripts on pages of specific plugins Here’s the code to load the custom scripts on admin pages function wpse60745_loadto_admin() { // to load styles wp_register_style( ‘my_plugin_css’, plugins_url(‘plugin-style.css’, __FILE__) … Read more

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