Make WordPress Themes

source: lightning/6.10.3/page.php

Last change on this file was 110849, checked in by themedropbox, 7 years ago

New version of Lightning - 6.10.3

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
13if ( have_posts() ) {
14        while ( have_posts() ) :
15                the_post();
16        ?>
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        ?>
33        </div><!-- [ /#post-<?php the_ID(); ?> ] -->
34
35        <?php
36        endwhile;
37};
38?>
39
40</div><!-- [ /.mainSection ] -->
41
42<div class="col-md-3 col-md-offset-1 subSection sideSection">
43<?php get_sidebar( get_post_type() ); ?>
44</div><!-- [ /.subSection ] -->
45
46</div><!-- [ /.row ] -->
47</div><!-- [ /.container ] -->
48</div><!-- [ /.siteContent ] -->
49<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.