Adding with javascript to admin bar. Works in Chrome/Safari, not Firefox

Obviously you cannot put a select tag inside a A anchor. What happens is related to event bubbling: Firefox takes the A anchor click into account, not the select control. Change your html to: <li id=”wp-admin-bar-abstractambienceantisocialapertureapzauldbackstagebig-easybiznizzbloggingstreamboastbold-newsbusy-beecaffeinatedcanvascanvas-buddypress-betachapterscinchcity-guidecodacoffee-breakcontinuumcrispcush” class=””> <select name=”themeswitcher” onchange=”location.href=this.options[this.selectedIndex].value;” style=”color: #000; text-shadow: none;”> <option value=”http://themes.fusionized.com?wptheme=Abstract” style=”color: #000; text-shadow: none;”>Abstract</option> <option value=”http://themes.fusionized.com?wptheme=Ambience” style=”color: #000; text-shadow: … Read more

Change existing label in the admin bar with something else

Found my answer including my full solution: <?php /* Plugin Name: Rename Posts to News Description: Rename built in posts to be called News Version: 1.0 Author: Scott Cariss @ Philosophy Design Author URI: http://www.philosophydesign.com */ // Not a WordPress context? Stop. ! defined( ‘ABSPATH’ ) and exit; add_action( ‘init’, array ( ‘chg_Posts_to_News’, ‘init’ ) … Read more

Deregister CSS style link ‘open-sans-css’

WP Core actually uses Open Sans font; it’s not a plugin. there is a plugin that removes it, but you can probably simply dequeue or deregister it. adding this to functions.php should work; if you want it removed from the backend as well, hook into the admin_print_styles action. function dequeue_opensans_css() { wp_dequeue_style( ‘open-sans’ ); } … Read more

Modify the WordPress admin bar CSS?

What you are seeing is probably produced by _admin_bar_bump_cb(). From quick look at code it includes following instructions inline in WP_Admin_Bar class: To remove the default padding styles from WordPress for the Toolbar, use the following code: add_theme_support( ‘admin-bar’, array( ‘callback’ => ‘__return_false’ ) );

I changed “Howdy” in the admin bar in the dashboard, but when I’m viewing the site it still says Howdy!

I see a couple of problems here. This line if (!is_admin() || ‘default’ != $domain) return $translated; returns the Howdy right back unchanged if is_admin is false – which it is if you’re not in the dashboard. Also, you’re running your filter callback on gettext. This means it will be run every time some internationalized … Read more

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