Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Notifications Menu (bp_adminbar_notifications_menu())

  • Avatar of Fanoop
    Fanoop
    Participant

    @fanoop

    I am creating a custom menu bar for my site. I am also implementing the Twitter Bootstrap framework.

    In order to keep the site consistent and avoid having to recreate the wheel, I would like to inject some html classed and components into the output of the bp_adminbar_notifications_menu() function without hacking the core.

    For example the current output code is:

    `

  • Notifications
    1

  • `

    I would like to add components to the first list item, the anchor tag, the span and the unordered list tag so it looks like this:

    `

    `

    If I can do that it would be great. That way I wouldn’t have to try and recreate the Bootstrap dropdown menus.

You must be logged in to reply to this topic.