Buddypress login below Navigation Menue
-
Hi Together,
i want to have to BuddyPress login/register/myAccount in the Header Area, below the navigation menue.
The pic is just an WooCommerce example. which uses followin code:
—->What could be the relevant BP code so that I’m able that the users have the same, buttons of Login/Register/MyAccount.`<?php
if (in_array(‘woocommerce/woocommerce.php’, apply_filters(‘active_plugins’, get_option(‘active_plugins’)))) {
global $woo_options, $woocommerce;if (!is_user_logged_in()) {
?><ul class=”account”>
<li class=”login”>
” title=”<?php _e(‘Log in’, ‘gp’); ?>”><?php _e(‘Log in’, ‘gp’); ?><li class=”signin”>
” title=”<?php _e(‘Sign in’, ‘gp’); ?>”><?php _e(‘Sign in’, ‘gp’); ?><!– END // account –>
<?php
} else {
global $current_user;
get_currentuserinfo();
?><ul class=”account”>
<li class=”loggedin”>
” title=”<?php _e(‘My Account’, ‘gp’); ?>”><?php _e(‘My Account’, ‘gp’); ?><li class=”logout”>
” title=”<?php _e(‘Log out’, ‘gp’); ?>”><?php _e(‘Log out’, ‘gp’); ?><!– END // account –>
- You must be logged in to reply to this topic.