Make WordPress Themes

source: lightning/2.7.1/page-onecolumn.php

Last change on this file was 67324, checked in by themedropbox, 9 years ago

New version of Lightning - 2.7.1

File size: 1.0 KB
Line 
1<?php
2/*
3 * Template Name: No sidebar
4 */
5get_header(); ?>
6
7<?php get_template_part('module_pageTit'); ?>
8<?php get_template_part('module_panList'); ?>
9
10<div class="section siteContent">
11<div class="container">
12<div class="row">
13
14<div class="col-md-12 mainSection" id="main" role="main">
15
16    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
17
18    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
19    <?php do_action( 'ligthning_entry_body_before' ); ?>
20    <div class="entry-body">
21    <?php the_content(); ?>
22    </div>
23        <?php
24        $args = array(
25                'before'           => '<nav class="page-link"><dl><dt>Pages :</dt><dd>',
26                'after'            => '</dd></dl></nav>',
27                'link_before'      => '<span class="page-numbers">',
28                'link_after'       => '</span>',
29                'echo'             => 1
30                );
31        wp_link_pages( $args ); ?>
32    </div><!-- [ /#post-<?php the_ID(); ?> ] -->
33
34        <?php endwhile; ?>
35
36</div><!-- [ /.mainSection ] -->
37
38</div><!-- [ /.row ] -->
39</div><!-- [ /.container ] -->
40</div><!-- [ /.siteContent ] -->
41<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.