-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpgcamaral.php
146 lines (51 loc) · 2.34 KB
/
pgcamaral.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?php
/*
Template Name: Cleilton Amaral
*/
?>
<?php get_header(); ?>
<div class="pgcolunas"><img src="https://3dejulhonoticias.com.br/wp-content/themes/3dejulho/library/images/camaral-coluna.jpg" width="967px" alt="Blog do Cleilton Pessoa Amaral"></div>
<?php query_posts('cat=45&posts_per_page=1'); ?>
<div id="content" class="clearfix">
<div id="content" class="clearfix">
<div id="main" class="col620 clearfix" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'contentoff', 'single' ); ?>
<?php attorney_content_nav( 'nav-below' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template( '', true );
?>
<?php endwhile; // end of the loop. ?>
</div> <!-- end #main -->
<div id="sidebar" class="widget-area col300" role="complementary">
<div><h4>O Colunista.</h4>
<p>Cleilton Pessoa Amaral<br />
Professor da rede pública<br />
Gestor Público<br />
Graduando de Jornalismo.</p><br /><hr><br />
</div>
<?php if(function_exists( 'wp_bannerize' ))
wp_bannerize( 'group=Amaral' ); ?><br />
<?php if ( ! dynamic_sidebar( 'Coluna-Amaral' ) ) : ?>
<?php endif; // end sidebar widget area ?>
</div>
<div id="sidebar" class="widget-area col300" role="complementary">
<h4 style="margin-bottom:10px; border-bottom: dashed 1px #CCCCCC; ">VEJA OUTRAS PUBLICAÇÕES DESTA COLUNA</h4>
<?php query_posts('offset=1&cat=45&showposts=10'); ?>
<?php if (have_posts()): while (have_posts()) : the_post();?>
<div class="coluna-wdg">
<div><h4><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4></div>
<div>
<strong><?php the_date(); ?></strong>
</div>
<div>
<?php the_excerpt(); ?>
</div>
</div>
<?php endwhile; else:?>
<?php endif;?>
</div>
</div> <!-- end #content -->
<?php get_footer(); ?>