This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //old previous style, see udpated design | |
| <div class="top-nav-wrapper cf"> | |
| <?php wp_nav_menu( array('theme_location' => 'main-nav', 'menu_class'=> 'top-nav' ) ); ?> | |
| </div> | |
| <div class="main-nav-wrapper cf"> | |
| <?php wp_nav_menu( array('theme_location' => 'main-nav', 'menu_class'=> 'main-nav' ) ); ?> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if(has_post_thumbnail()) { ?> | |
| <?php the_post_thumbnail("full", array('class'=>"banner-image")); ?> | |
| <?php } else { ?> | |
| <img src="<?php echo get_template_directory_uri(); ?>/images/banner.jpg" class="banner-image" alt="Banner Image"> | |
| <?php } ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //if on the homepage only | |
| <?php if (is_front_page()){ ?> | |
| Content here | |
| <?php } ?> | |
| // every page but the homepage | |
| <?php if (!is_front_page()){ ?> | |
| Content here | |
| <?php } ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( get_header_image() ) : ?> | |
| <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="Header" /></a> | |
| <?php endif; ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php $bloginfo = get_bloginfo( $show, $filter ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php echo esc_url( home_url( '/' ) ); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php echo get_template_directory_uri(); ?>/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php echo date("Y"); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .searchbar{ | |
| display: block; | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| input{ | |
| border: none; | |
| background: #FFFFFF; | |
| font-size: 12px; | |
| color: #000000; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @for $i from 2 through 10 { | |
| table td:first-child:nth-last-child(#{$i}), | |
| table td:first-child:nth-last-child(#{$i}) ~ td { width: 1 / $i * 100%; } | |
| } |