Skip to:
Content
Pages
Categories
Search
Top
Bottom

Notifications Widget


  • wafflecloud
    Participant

    @wafflecloud

    Hiya,
    I apologize if this is the wrong section but I have a quick inquiry for you all. Is there a bbpress plugin that creates a notifications widget.

    So basically say a standard user is sent a private message from another user but I’ve removed my admin bar…. is there an existing plugin to create a widget that would display notifications which I could place on my page to show that private message is waiting to be read in a similar way to the admin bar?

    Alternatively how would one go about editing the admin bar to remove the content to the left like the wordpress logo or “visit site” / dashboard tachometer icon?

    Thanks in advance to all who respond!

Viewing 1 replies (of 1 total)

  • wafflecloud
    Participant

    @wafflecloud

    Sorry for double posting but I figured the following would be beneficial for anyone who might view this as well.

    I decided to go the latter route and used this code:

    
    function annointed_admin_bar_remove() {
            global $wp_admin_bar,        
            $wp_admin_bar->remove_menu('wp-logo');          // Remove the WP Logo Menu
            $wp_admin_bar->remove_menu('site-name');        // Remove the site name menu
            $wp_admin_bar->remove_menu('view-site');        // Remove the view site link
    
    }
    
    add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove');
    
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar