display_name; will display e.g. "John Smith" *********************** wp_loginout() ---------------------------------- wp_loginout() is a WordPress function. Codex reference: http://codex.wordpress.org/Function_Reference/wp_loginout wp_loginout() displays a login link if user is logged out, or a logout link if user is logged in. wp_loginout() accepts 1 argument: - $redirect: redirect location after login/out. Defaults to no redirect (current location) *********************** wp_register() ---------------------------------- wp_register() is a WordPress function. Codex reference: http://codex.wordpress.org/Function_Reference/wp_register wp_register() displays a registration link if user is logged out and user registration is permitted; otherwise, displays a link to site admin (Dashboard) if user is logged in. wp_register() accepts 3 arguments: - $before: string to display before link. Defaults to '
  • ' - $after: string to display after link. Defaults to '
  • ' - $echo: return result boolean (true/false). Defaults to 'true' Example: returns the Registration or Site Admin link, without wrapping in
  • tags. ============================================================================= */ ?>