예제 #1
0
    function wpex_search_overlay()
    {
        if ('overlay' != wpex_header_search_style()) {
            return;
        }
        $placeholder = apply_filters('wpex_search_placeholder_text', __('Search', 'wpex'));
        ?>
		<section id="searchform-overlay" class="header-searchform-wrap clr">
			<div id="searchform-overlay-title"><?php 
        echo $placeholder;
        ?>
</div>
			<form method="get" action="<?php 
        echo esc_url(home_url('/'));
        ?>
" role="search" class="header-searchform">
				<input type="search" name="s" autocomplete="off" />
			</form>
		</section>
	<?php 
    }
예제 #2
0
파일: 404.php 프로젝트: brboise/bre
    // Display default text
} else {
    ?>

                        <div class="error404-content clr">

                            <h1><?php 
    _e('Page not found', 'wpex');
    ?>
</h1>
                            <p><?php 
    _e('How about searching for what you were looking for?', 'wpex');
    ?>
</p>
                            <?php 
    wpex_header_search_style($echo);
    ?>

                        </div><!-- .error404-content -->

                    <?php 
}
?>

                </article><!-- .entry -->

                <?php 
wpex_hook_content_bottom();
?>

            </main><!-- #content -->