Skip to:
Content
Pages
Categories
Search
Top
Bottom

buddypress show a message based on the logged in member

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

  • leog371
    Participant

    @leog371

    
    <? php if ( is_user_logged_in() ) :
    
    echo bp_core_get_user_displayname( bp_loggedin_user_id() );
    
    endif; ?>
    
    

    HDcms
    Participant

    @hdcms

    
    <? php 
    
    if ( is_user_logged_in()='178' ) :
    
    echo 'cool';
    
    endif; ?>

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar