Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • The Dux
    Participant

    @duxortus

    I just figured that out, and yeah, that fixed it. Must have come from some code I copied. Sorry guys. Update on the members-header will follow!

    For anyone wondering I am using a plugin widget I made in the sidebar for all user navigation.

    For now I’m using CSS, as bp does it pretty easy for me:

    body.my-account #item-header, 
    body.my-account #item-nav {
    	display: none;
    }
    
    body.my-profile #item-header {
    	display: initial;
    }

    The Dux
    Participant

    @duxortus

    Thanks for replying. I was thinking of removing, later maybe having an alternate version, header for a number of pages. All messages, inbox, outbox etc. Also notifications, friend requests etc. Pages that will be private to you as a user.

    I have run into something though, I can’t seem to make a hook work?

    function testFunction() {
    echo "Hello World!";
    }
    add_action(‘bp_init’, ‘testFunction’);

    I’ve put this in /plugins/bp-custom.php which also have other functions that does work.

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