Fix for Howdy top sidebar translation
This commit is contained in:
parent
ac4868971f
commit
7caaeca526
@ -254,7 +254,6 @@ $args = array('number' => 10, 'largest' => 20);
|
|||||||
return $args;
|
return $args;
|
||||||
}
|
}
|
||||||
|
|
||||||
// load_plugin_textdomain('theme-my-login' , get_site_url() . 'wp-content/plugins/theme-my-login/languages/');
|
|
||||||
// load_plugin_textdomain('user-registration' , get_site_url() . 'wp-content/themes/openmamba/languages/');
|
// load_plugin_textdomain('user-registration' , get_site_url() . 'wp-content/themes/openmamba/languages/');
|
||||||
|
|
||||||
add_action('wp_head','hook_cookielaw');
|
add_action('wp_head','hook_cookielaw');
|
||||||
|
@ -36,7 +36,7 @@ if ( !is_active_sidebar( 'top-widget' )
|
|||||||
echo "<a class='mytoplink' href=".site_url('/register/').">".__('Register')."</a> ";
|
echo "<a class='mytoplink' href=".site_url('/register/').">".__('Register')."</a> ";
|
||||||
} else {
|
} else {
|
||||||
get_currentuserinfo();
|
get_currentuserinfo();
|
||||||
$a = sprintf( __('Howdy, %1$s'), $current_user->display_name );
|
$a = sprintf( __('Howdy, %1$s', 'responsive'), $current_user->display_name );
|
||||||
echo "<a class='mytoplink' href=".site_url('/forums/users/').$current_user->display_name.">".$a." ".get_avatar( $current_user->ID, 20 )."</a> ";
|
echo "<a class='mytoplink' href=".site_url('/forums/users/').$current_user->display_name.">".$a." ".get_avatar( $current_user->ID, 20 )."</a> ";
|
||||||
echo "/ <a class='mytoplink' href=".wp_logout_url( get_permalink() ).">".__('Logout')."</a> ";
|
echo "/ <a class='mytoplink' href=".wp_logout_url( get_permalink() ).">".__('Logout')."</a> ";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user