Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Running a multisite install I would like to distribute messages to all sites as a top notice bar on frontpage. All sites are read and posted from frontpage so admin area message plugins won't work.

Searched and can't find plugin/solution that works for both communicating with all sites on multisite and not at adminarea. Also, I'm not using the WP admin bar on front for this network, so that is not an option. Any ideas?

share|improve this question
    
Do you mean you've hidden the admin bar, or you don't want a solution using the admin bar? –  SickHippie Mar 12 '12 at 16:35
    
I've disabled the adminbar because I don't want it in this network. –  BoBoz Mar 12 '12 at 20:26
    
Good to know - are you using a global theme, or does each site have its own? –  SickHippie Mar 12 '12 at 20:33
    
Same theme on every site. Modified P2 –  BoBoz Mar 12 '12 at 22:08
1  
If you're using the same theme, you can just add some html/css/js into the theme itself - google "top bar javascript" for a number of suggestions on how best to make it work. I'm not really sure on the process of converting a single-site plugin to multisite - if I can figure it out, I'll let you know. –  SickHippie Mar 12 '12 at 22:35

1 Answer 1

You can use the adminbar on front. Plus you can customize it to your needs.

Example on how to add a node

// Read here 1)
function nacin_promote_network_admin_in_toolbar( $wp_admin_bar ) {
    $wp_admin_bar->add_node( array(
        'id' => 'network-admin',
        'parent' => false,
    ) );
}
add_action( 'admin_bar_menu', 'nacin_promote_network_admin_in_toolbar', 25 );

1) Read on WPDevel how to add/remove_nodes in the admin bar.

share|improve this answer
    
Ok, that can definitely be usefull for for future dev, but for this one I'm not using adminbar. Thank's! –  BoBoz Mar 12 '12 at 20:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.