gwt_wp_content_nav('nav-below'); ?> <?php } else { ?> <?php get_template_part('no-results', 'search'); ?> <?php } ?> </div> <?php if (is_active_sidebar('left-sidebar')) { govph_displayoptions('govph_sidebar_left'); } ?> <?php if (is_active_sidebar('right-sidebar')) { govph_displayoptions('govph_sidebar_right'); } ?> </div> </div> <?php get_footer();
<div class="large-9 columns container-main"> <header> <?php while (have_posts()) { the_post(); ?> <h1 class="entry-title"><?php the_title(); ?> </h1> <?php } // end of the loop. ?> </header> </div> </div> <?php } ?> <?php } govph_displayoptions('govph_slider_end'); ?> </div> <?php govph_displayoptions('govph_auxmenu'); ?> <?php include_once 'breadcrumbs.php';
<!-- masthead --> <div class="container-masthead"> <div class="row"> <div class="columns<?php echo $name_slogan_class; ?> "> <h1 class="logo"><a href="<?php echo esc_url(home_url('/')); ?> " title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?> " rel="home"><?php govph_displayoptions('govph_logo'); ?> </a></h1> </div> <?php if (is_active_sidebar('ear-content-1')) { ?> <div class="<?php echo $ear_content_class; ?> columns"> <?php do_action('before_sidebar'); ?> <?php
?> <?php } //end of the loop ?> <?php get_search_form(); ?> </div><!-- end content --> <?php if (is_active_sidebar('left-sidebar')) { govph_displayoptions('govph_sidebar_left'); } ?> <?php if (is_active_sidebar('right-sidebar')) { govph_displayoptions('govph_sidebar_right'); } ?> </div><!-- end row --> </div><!-- end main --> <?php govph_displayoptions('govph_panel_bottom'); ?> <?php get_footer();
govph_displayoptions('govph_position_panel_bottom_3'); ?> columns" role="complementary"> <?php do_action('before_sidebar'); ?> <?php dynamic_sidebar('panel-bottom-3'); ?> </aside> <?php } ?> <?php if (is_active_sidebar('panel-bottom-4')) { ?> <aside id="panel-bottom-4" class="<?php govph_displayoptions('govph_position_panel_bottom_4'); ?> columns" role="complementary"> <?php do_action('before_sidebar'); ?> <?php dynamic_sidebar('panel-bottom-4'); ?> </aside> <?php } ?> </div>
columns" role="complementary"> <?php do_action('before_sidebar'); ?> <?php dynamic_sidebar('panel-top-3'); ?> </aside> <?php } ?> <?php if (is_active_sidebar('panel-top-4')) { ?> <aside id="panel-top-4" class="<?php govph_displayoptions('govph_position_panel_top_4'); ?> columns" role="complementary"> <?php do_action('before_sidebar'); ?> <?php dynamic_sidebar('panel-top-4'); ?> </aside> <?php } ?> </div> </div> <?php
/** * Prints HTML with meta information for the current post-date/time and author. */ function gwt_wp_posted_on() { $time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>'; //if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) //$time_string .= '<time class="updated" datetime="%3$s">%4$s</time>'; /*$time_string = sprintf( $time_string, esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( 'c' ) ), esc_html( get_the_modified_date() ) ); */ $time_string = sprintf($time_string, esc_attr(get_the_date('c')), esc_html(get_the_date())); if (govph_displayoptions('govph_content_show_pub_date') == 'true') { $default_publish_label = govph_displayoptions('govph_content_pub_date_lbl') ? govph_displayoptions('govph_content_pub_date_lbl') : 'Posted on'; $published_date = sprintf('%4$s <a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>', esc_url(get_permalink()), esc_attr(get_the_time()), $time_string, $default_publish_label); } if (govph_displayoptions('govph_content_show_author') == 'true') { $default_author_label = govph_displayoptions('govph_content_pub_author_lbl') ? govph_displayoptions('govph_content_pub_author_lbl') : ' by'; $author = sprintf('%4$s <span class="author"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>', esc_url(get_author_posts_url(get_the_author_meta('ID'))), esc_attr(sprintf(__('View all posts by %s', 'gwt_wp'), get_the_author())), esc_html(get_the_author()), $default_author_label); } printf(__('<span class="posted-on">%1$s</span><span class="byline">%2$s</span>', 'gwt_wp'), $published_date, $author); }
<?php /** * The Sidebar containing the main widget areas. * * @package gwt_wp */ ?> <aside id="sidebar-left" class="<?php govph_displayoptions('govph_sidebar_position_left'); ?> columns" role="complementary"> <?php do_action('before_sidebar'); ?> <?php dynamic_sidebar('left-sidebar'); ?> </aside>
<?php /** * The template for displaying Search Results pages. * * @package gwt_wp */ get_header(); include_once 'inc/banner.php'; ?> <div id="main-content" class="container-main" role="document"> <div class="row search-results"> <div id="content" class="<?php govph_displayoptions('govph_content_position'); ?> large-12 columns"> <?php if (have_posts()) { ?> <?php /* Start the Loop */ ?> <?php while (have_posts()) { the_post(); ?> <?php get_template_part('content', 'search');