Make WordPress Themes

source: lightning/7.2.4/woocommerce.php

Last change on this file was 121168, checked in by themedropbox, 6 years ago

New version of Lightning - 7.2.4

File size: 1.6 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<?php do_action( 'lightning_siteContent_prepend' ); ?>
8<div class="container">
9<?php do_action( 'lightning_siteContent_container_prepend' ); ?>
10<div class="row">
11<div class="<?php lightning_the_class_name( 'mainSection' ); ?>" id="main" role="main">
12<?php do_action( 'lightning_mainSection_prepend' ); ?>
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 woocommerce_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        );
27        wp_link_pages( $args );
28        ?>
29
30        <?php
31                /**
32                 * woocommerce_after_main_content hook.
33                 *
34                 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
35                 */
36                // do_action( 'woocommerce_after_main_content' );
37        ?>
38        </div><!-- [ /#post-<?php the_ID(); ?> ] -->
39
40
41<?php do_action( 'lightning_mainSection_append' ); ?>
42</div><!-- [ /.mainSection ] -->
43
44<div class="<?php lightning_the_class_name( 'sideSection' ); ?>">
45        <?php
46                /**
47                 * woocommerce_sidebar hook.
48                 *
49                 * @hooked woocommerce_get_sidebar - 10
50                 */
51                do_action( 'woocommerce_sidebar' );
52        ?>
53<?php get_sidebar( get_post_type() ); ?>
54</div><!-- [ /.subSection ] -->
55
56</div><!-- [ /.row ] -->
57</div><!-- [ /.container ] -->
58</div><!-- [ /.siteContent ] -->
59<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.