• Resolved wowiwe

    (@wowiwe)


    When calling the page of the forum, I see the following php code on top before forum starts:

    <?php if ( is_user_logged_in() ) { echo ‘{username code here}’; } else { echo ‘Login’; } ?> <?php global $current_user; wp_get_current_user(); echo ‘Username: ‘ . $current_user->user_login . “\n”; echo ‘User display name: ‘ . $current_user->display_name . “\n”; ?>

    The forum seems to be displaying properly.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘php code appearing before forum’ is closed to new replies.