adding fullwidth class and search form to 404 template
This commit is contained in:
3
404.php
3
404.php
@@ -2,7 +2,7 @@
|
||||
<?php roots_content_before(); ?>
|
||||
<div id="content" class="<?php echo $roots_options['container_class']; ?>">
|
||||
<?php roots_main_before(); ?>
|
||||
<div id="main" role="main">
|
||||
<div id="main" class="<?php echo $roots_options['fullwidth_class']; ?>" role="main">
|
||||
<div class="container">
|
||||
<h1><?php _e('File Not Found', 'roots'); ?></h1>
|
||||
<p><?php _e('The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.', 'roots'); ?></p>
|
||||
@@ -12,6 +12,7 @@
|
||||
<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(); ?>
|
||||
</div>
|
||||
</div><!-- /#main -->
|
||||
<?php roots_main_after(); ?>
|
||||
|
||||
Reference in New Issue
Block a user