/** * The template part for displaying a hero banner on the front page. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package mediaphase */ $mediaphase_display_hero_banner = get_theme_mod('mediaphase_hero_show', 'yes'); if ($mediaphase_display_hero_banner === 'yes') { ?> <div id="hero"> <div class="wrap"> <div id="herocontent"> <h1 id="herotitle"><?php echo esc_html(get_theme_mod('mediaphase_hero_title')); ?> </h1> <div id="herotext"><?php echo mediaphase_esc_html(get_theme_mod('mediaphase_hero_text')); ?> </div> </div> <!-- End #herocontent --> </div> <!-- End #wrap --> </div><!-- End #hero --> <?php }
<?php /** * The template part for displaying a top ribbon on the front page. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package mediaphase */ $mediaphase_display_top_ribbon = get_theme_mod('mediaphase_top_ribbon_show', 'yes'); if ($mediaphase_display_top_ribbon === 'yes') { ?> <div id="ribbon" class="topribbon"> <div class="wrap"> <p><?php echo mediaphase_esc_html(get_theme_mod('mediaphase_top_ribbon_text')); ?> </p> </div> <!-- End #wrap --> </div> <?php }
* Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package mediaphase */ $mediaphase_display_meet_the_team = get_theme_mod('mediaphase_meet_the_team_show', 'yes'); if ($mediaphase_display_meet_the_team === 'yes') { ?> <div id="team"> <div class="wrap"> <div class="featuretitle"><h2><?php echo esc_html(get_theme_mod('mediaphase_meet_the_team_title')); ?> </h2></div> <p class="teamintro"><?php echo mediaphase_esc_html(get_theme_mod('mediaphase_meet_the_team_text')); ?> </p> <div id="teammembers"> <?php global $wp_customize; if (!empty($wp_customize) && $wp_customize->is_preview() && !get_theme_mod('mediaphase_content_set', false)) { ?> <div class="member hideme"> <img src="<?php echo get_template_directory_uri(); ?> /img/staff1.jpg" class="memberphoto"> <h3 class="membertitle">Member 1</h3> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc dapibus, eros at accumsan