Updated alerts to bootstrap v3
This commit is contained in:
2
404.php
2
404.php
@@ -1,6 +1,6 @@
|
|||||||
<?php get_template_part('templates/page', 'header'); ?>
|
<?php get_template_part('templates/page', 'header'); ?>
|
||||||
|
|
||||||
<div class="alert">
|
<div class="alert alert-warning">
|
||||||
<?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
|
<?php _e('Sorry, but the page you were trying to view does not exist.', 'roots'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
2
base.php
2
base.php
@@ -1,7 +1,7 @@
|
|||||||
<?php get_template_part('templates/head'); ?>
|
<?php get_template_part('templates/head'); ?>
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
|
||||||
<!--[if lt IE 7]><div class="alert"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->
|
<!--[if lt IE 7]><div class="alert alert-warning"><?php _e('You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.', 'roots'); ?></div><![endif]-->
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
do_action('get_header');
|
do_action('get_header');
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<?php get_template_part('templates/page', 'header'); ?>
|
<?php get_template_part('templates/page', 'header'); ?>
|
||||||
|
|
||||||
<?php if (!have_posts()) : ?>
|
<?php if (!have_posts()) : ?>
|
||||||
<div class="alert">
|
<div class="alert alert-warning">
|
||||||
<?php _e('Sorry, no results were found.', 'roots'); ?>
|
<?php _e('Sorry, no results were found.', 'roots'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php get_search_form(); ?>
|
<?php get_search_form(); ?>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>
|
<?php edit_comment_link(__('(Edit)', 'roots'), '', ''); ?>
|
||||||
|
|
||||||
<?php if ($comment->comment_approved == '0') : ?>
|
<?php if ($comment->comment_approved == '0') : ?>
|
||||||
<div class="alert">
|
<div class="alert alert-info">
|
||||||
<?php _e('Your comment is awaiting moderation.', 'roots'); ?>
|
<?php _e('Your comment is awaiting moderation.', 'roots'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
|
<?php if (!comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
|
||||||
<div class="alert">
|
<div class="alert alert-warning">
|
||||||
<?php _e('Comments are closed.', 'roots'); ?>
|
<?php _e('Comments are closed.', 'roots'); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
|
<?php if (!have_comments() && !comments_open() && !is_page() && post_type_supports(get_post_type(), 'comments')) : ?>
|
||||||
<section id="comments">
|
<section id="comments">
|
||||||
<div class="alert">
|
<div class="alert alert-warning">
|
||||||
<?php _e('Comments are closed.', 'roots'); ?>
|
<?php _e('Comments are closed.', 'roots'); ?>
|
||||||
</div>
|
</div>
|
||||||
</section><!-- /#comments -->
|
</section><!-- /#comments -->
|
||||||
|
|||||||
Reference in New Issue
Block a user