Make WordPress Themes

source: lightning/4.1.4/page.php

Last change on this file was 87921, checked in by themedropbox, 8 years ago

New version of Lightning - 4.1.4

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