<?php

wp_theme_debug(__FILE__, $output_to_header = true);
/**
 * Functions for displaying company info
 */
/**
 * Returns the string for the company address
 *
 * See also corresponding the_address() function for displaying the company
 * address.
 *
 * @return string
 */
function get_address()
{
    $address = get_option('co_address');
    $city = get_option('co_city');
    $state = get_option('co_state');
    $zipcode = get_option('co_zipcode');
    if ($address != '') {
        $address = '
            <address itemscope itemtype="http://schema.org/PostalAddress">
                <a target="_blank" href="https://www.google.com/maps/place/' . str_replace(" ", "+", $address . '+' . $city . '+' . $state . '+' . $zipcode) . '">
                    <span itemprop="streetAddress"> ' . $address . ' </span>
                    <span itemprop="addressLocality"> ' . $city . ', </span>
                    <span itemprop="addressRegion"> ' . $state . ' </span>
                    <span itemprop="postalCode"> ' . $zipcode . ' </span>
                </a>
            </address>
            ';
<?php

wp_theme_debug(__FILE__);
/**
 * Search page content template
 */
?>
<article id="post-<?php 
the_ID();
?>
" <?php 
post_class();
?>
>
    <header class="page-header">
        <h2 class="page-title">Search Results for: <?php 
echo get_search_query();
?>
</h2>
    </header>

    <div class="page-content">
        <?php 
while (have_posts()) {
    the_post();
    the_title('<h3 class="title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h3>');
    the_excerpt();
    ?>
        <?php 
}
?>