-
Notifications
You must be signed in to change notification settings - Fork 0
/
special-post-template-warning.php
41 lines (30 loc) · 1.18 KB
/
special-post-template-warning.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/*
Template Name: Custom Post Template
Template Post Type: post
*/
get_header();
debug_location("SPost");?>
<div class="content-column"><?php
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<!-- info-box -->
<div class="info-box" style="background-color: white; border: 3px solid red; margin-bottom: 15px; width:92%;">
<p style="color: red; font-size: 30px; font-style: italic; padding:10px; padding-left:30px;"><i class="fa fa-exclamation-triangle"></i> POST: pre article special template 'warning'.</p></p>
</div>
<?php get_template_part('content'); ?>
<div class="info-box" style="background-color: white; border: 3px solid red; margin-bottom: 15px; width:92%;">
<p style="color: red; font-size: 30px; font-style: italic; padding:10px; padding-left:30px;"><i class="fa fa-exclamation-triangle"></i> POST: pre article special template 'warning'.</p></p>
</div><!-- /info-box --><?php
get_template_part( 'content-comments' );
endwhile;
// Previous/next post navigation.
get_template_part( 'content-pagination-post' );
else :
get_template_part('content-sorry');
endif; ?>
</div>
<?php
get_sidebar();
get_footer();
?>