Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • geekasso
    Participant

    @geekasso

    Thank you for this information, exactly what I was looking for. I am receiving an error in the firebug console when I have the following code in my theme’s functions.php file:

    `
    remove_action( ‘wp_footer’, ‘wp_admin_bar_render’, 1000 );
    remove_action( ‘admin_footer’, ‘wp_admin_bar_render’, 1000 );
    add_action( ‘wp_head’, ‘wp_admin_bar_render’, 1000 );
    add_action( ‘admin_head’, ‘wp_admin_bar_render’, 1000 );
    `

    I have that at the very top of the functions.php just under the “if ( !defined( ‘ABSPATH’ ) ) exit;” statement.

    The error that I receive in the console is:
    `TypeError: b is null
    b = b.replace( rcs, ‘ ‘ );`

    That references the following javascript:
    `
    (function() {
    var request, b = document.body, c = ‘className’, cs = ‘customize-support’, rcs = new RegExp(‘(^|\\s+)(no-)?’+cs+'(\\s+|$)’);

    request = true;

    b = b.replace( rcs, ‘ ‘ );
    b += ( window.postMessage && request ? ‘ ‘ : ‘ no-‘ ) + cs;
    }());`


    geekasso
    Participant

    @geekasso

    Thank you very much. That is a great link and definitely helps understand the buddypress core.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar