Skip to:
Content
Pages
Categories
Search
Top
Bottom

Admin Bar Logo Code does not work

  • <?php

    function my_admin_bar_logo($content){

    return “<your admin bar logo path>”;

    }

    add_filter(‘bp_admin_bar_logo_src’, ‘my_admin_bar_logo’);

    function my_admin_bar_alt_text($content){

    return “< your admin bar alt text>”;

    }

    add_filter(‘bp_admin_bar_alt_text’, ‘my_admin_bar_alt_text’);

    ?>

    Again this may be a redundant question but I have spent hours trying to search for a solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Oops forgot to mention that I put that code in my mu-plugins directory

    @djpaul

    Keymaster

    The above assumes you are using a BP 1.0 theme (this isn’t in the new BP 1.1+ themes). Can you confirm that assumption?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin Bar Logo Code does not work’ is closed to new replies.
Skip to toolbar