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)
  • Profile photo of Henry
    Henry
    Participant

    @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 } ?>
    Profile photo of luckyrajiv
    luckyrajiv
    Participant

    @luckyrajiv

    Thanks a Lot Henry.

    Profile photo of luckyrajiv
    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