Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • @pattz2016

    Participant

    just like there are page navigation below this forum showing the number of topics discussed so far.

    @pattz2016

    Participant

    Please ignore the above message. I realize now that i the logo is there because i am logged in as the admin. Others users cannot access it.

    Many thanks.

    @pattz2016

    Participant

    hi,
    I have created a child theme , named it Frontier-child and pasted the code as below. But still the WP LOGO is there.

    <?php
    //
    // Recommended way to include parent theme styles.
    // (Please see https://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme)
    //
    add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
    function theme_enqueue_styles() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
    wp_enqueue_style( ‘child-style’,
    get_stylesheet_directory_uri() . ‘/style.css’,
    array(‘parent-style’)
    );
    }
    //
    // Your code goes below
    //

    function remove_wp_logo( $wp_admin_bar ) {
    if ( !current_user_can( ‘administrator’ ) && !is_super_admin() ) {
    $wp_admin_bar->remove_node( ‘wp-logo’ );
    }
    }
    add_action( ‘admin_bar_menu’, ‘remove_wp_logo’, 999 );

    @pattz2016

    Participant

    Where exactly do i insert the code in buddypress/bp-forums/bp-forums-functions.php

    Below which comment?

    Many thanks.

    @pattz2016

    Participant

    thanks for your response, I do not want to remove WP adim bar, because that is where the notifications appear. I only want to remove the wp-logo. the drop down wordpress menu at the side of the top bar.

    Not the bar itself

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