2015-09-26 04:08:27 +02:00
< ? php
/**
* Created by PhpStorm .
* User : sarahetter
* Date : 15 - 09 - 24
* Time : 5 : 32 PM
*/
?>
< header class = " blog " >
< div class = " centered-header " >
2015-10-17 02:32:29 +02:00
< a href = " <?php echo get_bloginfo('wpurl');?> " >< img src = " <?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png " class = " logo phone-and-up " ></ a >
< a href = " <?php echo get_bloginfo('wpurl');?> " >< img src = " <?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-white.svg " class = " logo phone-only " ></ a >
2015-09-26 04:08:27 +02:00
< div class = " app-links " >
< a href = " <?php echo $signInLink ; ?> " > Sign In </ a > / < a href = " <?php echo $signUpLink ; ?> " > Sign Up </ a >
2015-10-17 02:32:29 +02:00
< img src = " <?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg " class = " phone-only hamburger " >
2015-09-26 04:08:27 +02:00
</ div >
2015-10-16 05:27:03 +02:00
< nav class = " tour-switcher " >< ? php wp_nav_menu ( array (
'theme_location' => 'landing-menu' ,
'container' => false
)); ?>
</ nav >
2015-10-17 02:32:29 +02:00
< div class = " mobile-nav " >
< ? php wp_nav_menu ( array ( 'theme_location' => 'main-footer-menu' , 'container' => false ) ); ?>
</ div >
2015-11-02 11:18:22 +01:00
</ div >
< div class = " centered-header " >
2015-09-26 04:08:27 +02:00
</ div >
< div class = " chevron-divider " ></ div >
2015-11-02 11:18:22 +01:00
< h1 >< a href = " /blog " > ascribe blog </ a ></ h1 >
2015-09-26 04:08:27 +02:00
</ header >
< nav class = " blog-categories " >
< div class = " centered-categories " >
< ul >
< ? php
$args = array (
'hide_empty' => 0
);
foreach (( get_categories ( $args )) as $category ) {
if ( $category -> cat_name != 'Uncategorized' ) {
2015-11-02 11:18:22 +01:00
echo '<li><a href="' . get_category_link ( $category -> term_id ) . '" title="' . sprintf ( __ ( " View all posts in %s " ), $category -> name ) . '" ' . '><span>' . $category -> name . '</span></a></li> ' ;
2015-09-26 04:08:27 +02:00
}
}
?>
</ ul >
</ div >
</ nav >