Remove WordPress Logo From Admin Bar And Pages

Remove WordPress Logo From Admin Bar And Pages

As a part of branding process, as a developer, I was searching that how I can remove the wordpress logo situated in top left corner in admin bar and page bar. If you can still not find please see the bellow image.

So as you can see, we are going to remove that logo from this admin bar. For that you have to right a little function in “functions.php” resides in your theme folder. Here is the code:

function annointed_admin_bar_remove() {
global $wp_admin_bar;

/* Remove their stuff */
$wp_admin_bar->remove_menu(‘wp-logo’);
}

Above code can be written in the end of the “functions.php” page and Ta..Da.. the wordpress logo from the admin bar as well as from pages bar is removed.

Put Your Own Logo On WordPress Admin Page

Put Your Own Logo On WordPress Admin Page

If you want to keep your own logo on wordpress admin page, it is quite simple. It is very good for branding and total uniformity, if you are providing any solution to your clients!!. To change the wordpress logo on admin page here are the steps:

Open the folder “wp-admin”
Inside that, open the folder “images”
Find a file named “logo-login.png”. The size of the image is W:274 x H:63
Now, either you can open it in the photoshop and change it or you can re-size your image and give your image name “logo-login” and save in PNG format.
Upload on your server and you are good to go!!
Its easy. Isn’t it.

ERROR: [“DROP DATABASE” Statement Is Disabled] In PhpMyAdmin – Fixed

ERROR: [“DROP DATABASE” Statement Is Disabled] In PhpMyAdmin – Fixed

” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]

Sometimes PhpMyAdmin throws very unusual error: ““DROP DATABASE” statement is disabled”. In this situation the “DROP” tab can not be seen in PhpMyAdmin home page.  You can get rid of this problem by doing the following process.

  1. Go to -> your_drive/xampp/PhpMyAdmin/libraries/
  2. Open a file name “config.default.php
  3. Find $cfg[‘AllowUserDropDatabase’] (This would be around line number 566)
  4. You will find the value is “False. Make it to  ”True” and Ta..Da..you can now able to drop the database.
“Strict Standards” Error After Installing Joomla 1.5.21,22 On XAMPP 1.7.4 – Fixed

“Strict Standards” Error After Installing Joomla 1.5.21,22 On XAMPP 1.7.4 – Fixed

If you are using joomla 1.5.21,22 on XAMPP 1.7.4 you might get “Strict Standards” errors like following..

ERROR:Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 29
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71

Strict Standards: Non-static method JLoader::import() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 32
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 71
Strict Standards: Non-static method JLoader::load() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 161
Strict Standards: Non-static method JLoader::register() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\loader.php on line 138
Strict Standards: Non-static method JRequest::clean() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\import.php on line 33
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 463
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 464
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 465
Strict Standards: Non-static method JRequest::_cleanArray() should not be called statically in D:\xampp\htdocs\smtflanka\libraries\joomla\environment\request.php on line 466

………….. And some other lines.

SOLUTION: You need to a little fix in php.ini file

  1. Open php.ini file.
  2. Find “error_reporting = E_ALL | E_STRICT” (this would be around line number 516)
  3. Replace with “error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
  4. Restart the APACHE and you are done.
How To Fix “Briefly Unavailable For Scheduled Maintenance WordPress” Error

How To Fix “Briefly Unavailable For Scheduled Maintenance WordPress” Error

If you are upgrading the wordpress version or sometimes one of the plugins you have installed for your wordpress blog and when you upgrade it and refresh the page your upgraded blog page keep showing annoying error “ Briefly unavailable for scheduled maintenance. check back in a minute.” and you refresh it again and again and it keep showing the same thing and sometimes if you refresh the Admin area in wordpress you see the same thing too. Here is the solution for it.

You have to find a file called “.maintenance” without the quotes, this file should be in the root directory of your WordPress installation. DELETE it. Now your blog and your admin area are back to normal.