- Implement scribu’s Theme Wrapper (see base.php) - Move templates, comments.php, and searchform.php to templates/ folder - Rename loop- files to content- - Remove all hooks except roots_head and roots_footer - Use templates/page-header.php for page titles - Use head.php for everything in <head>
15 lines
646 B
PHP
15 lines
646 B
PHP
<?php get_template_part('templates/page', 'header'); ?>
|
|
|
|
<div class="alert alert-block fade in">
|
|
<a class="close" data-dismiss="alert">×</a>
|
|
<p><?php _e('The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.', 'roots'); ?></p>
|
|
</div>
|
|
|
|
<p><?php _e('Please try the following:', 'roots'); ?></p>
|
|
<ul>
|
|
<li><?php _e('Check your spelling', 'roots'); ?></li>
|
|
<li><?php printf(__('Return to the <a href="%s">home page</a>', 'roots'), home_url()); ?></li>
|
|
<li><?php _e('Click the <a href="javascript:history.back()">Back</a> button', 'roots'); ?></li>
|
|
</ul>
|
|
|
|
<?php get_search_form(); ?>
|