Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] URGENT : Change Logo Url to Profile Url if Logged In

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

  • Henry
    Member

    @henrywright-1

    <?php if ( is_user_logged_in() ) { ?>
          <a href="/<?php echo bp_core_get_username( bp_loggedin_user_id() ); ?>" title="Profile"><img src="logo.png" alt="Logo" /></a>
    <?php } else { ?>
          <a href="/" title="Home"><img src="logo.png" alt="Logo" /></a>
    <?php } ?>

    luckyrajiv
    Participant

    @luckyrajiv

    Thanks a Lot Henry.


    luckyrajiv
    Participant

    @luckyrajiv

    TOPIC IS RESOLVED.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] URGENT : Change Logo Url to Profile Url if Logged In’ is closed to new replies.
Skip to toolbar