function cyberchimps_logo_register_content()
{
    global $current_user;
    ?>
	<header id="cc-header" class="row-fluid">
		<div class="span7">
			<?php 
    if (function_exists('cyberchimps_header_logo')) {
        cyberchimps_header_logo();
    }
    ?>
		</div>

		<div id="register" class="span5">
			<div class="register">
				<?php 
    if (!is_user_logged_in()) {
        ?>
					<?php 
        wp_loginout();
        ?>
 <?php 
        wp_meta();
        ?>
 | <?php 
        wp_register('', '', true);
        ?>
				<?php 
    } else {
        ?>
					Welcome back <strong><?php 
        global $current_user;
        get_currentuserinfo();
        echo $current_user->user_login;
        ?>
</strong> | <?php 
        wp_loginout();
        ?>
				<?php 
    }
    ?>
			</div>
		</div>
	</header>
<?php 
}
Ejemplo n.º 2
0
body_class();
?>
>

<?php 
do_action('cyberchimps_before_navigation');
?>

<!-- ---------------- Menu --------------------- -->
<div class="container-full-width" id="navigation_menu">
	<div class="container">
		<div class="container-fluid">
			<div class="row-fluid">
				<div id="logo_container" class="span3">
					<?php 
cyberchimps_header_logo();
?>
				</div>
				<!-- span3 -->
				<div id="social_container" class="span2">
					<?php 
cyberchimps_header_social_icons();
?>
				</div>
				<!-- span 2 -->
				<nav id="navigation" class="span7" role="navigation">
					<div class="main-navigation navbar">
						<div class="navbar-inner">
							<div class="container">

								<?php