/
page.php
55 lines (29 loc) · 1.04 KB
/
page.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
<?php
get_header();
?>
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
<div id="page-offlimits" class="small-12 columns pl0">
<article class="small-12 columns p0">
<div id="page-offlimits-titlulo-fecha" class="small-12 columns p0 h_15vh">
<div class="small-7 columns p2 text-left fontRXXL vcenter">
<h1>
<?php echo apply_filters('the_title', get_the_title()); ?>
</h1>
</div>
<?php
$img = get_the_post_thumbnail();
if( $img ) : ?>
<div id="page-offlimits-thumb" class="expanded row imgLiquidFill imgLiquid h_50vh w_100" >
<?php echo $img; ?>
</div>
<?php endif; ?>
</div>
<div id="page-offlimits-contenido" class="small-12 columns fontRL text-left p3 black_tapes">
<?php echo apply_filters('the_content', get_the_content()); ?>
</div>
</article>
</div>
<?php
endwhile; endif;
get_footer();
?>