-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-full-op.php
41 lines (41 loc) · 1.3 KB
/
page-full-op.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: Operações - Full Width Page
*/
?>
<?php get_header(); ?>
<div class="image-header"><img src="<?php echo $cfs->get('header_image') ?>" alt=""></div>
<?php
$featured_image = false;
if ( '' != get_the_post_thumbnail() ) :
$featured_image = true;
?>
<div class="post-thumbnail">
<div class="container">
<h1 class="post-heading"><?php the_title(); ?></h1>
</div> <!-- .container -->
</div> <!-- .post-thumbnail -->
<?php endif; ?>
<div class="page-wrap container fullwidth">
<div id="main-content">
<div class="main-content-wrap clearfix">
<div id="content">
<?php get_template_part( 'includes/breadcrumbs', 'index' ); ?>
<div id="left-area">
<?php while ( have_posts() ) : the_post(); ?>
<article class="entry-content clearfix">
<?php if ( ! $featured_image ) : ?>
<h1 class="main-title"><?php the_title(); ?></h1>
<?php endif; ?>
<?php
the_content();
wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'Nexus' ), 'after' => '</div>' ) );
?>
</article> <!-- .entry -->
<?php endwhile; ?>
</div> <!-- end #left-area -->
</div> <!-- #content -->
</div> <!-- .main-content-wrap -->
<?php get_template_part( 'includes/footer-banner', 'page' ); ?>
</div> <!-- #main-content -->
<?php get_footer(); ?>