Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Php help – Welcome Message

The words are stored in a file called logged-in.php in your theme.

In Kakumei (the default), it looks like this:

<p class="login">
<?php printf(__('Welcome, %1$s'), bb_get_profile_link(bb_get_current_user_info( 'name' )));?>
<?php bb_admin_link( 'before= | ' );?>
| <?php bb_logout_link(); ?>
</p>

Using __( translates into the appropriate language, and %1$s is a placeholder that gets replaced by the user’s name

Not sure why it’s saying Welcome twice though

Skip to toolbar