/var/www/html/wp-content/themes/elessi-theme/page-view-compare.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
<?php
/*
  Template name: Nasa View Compare
  This templates View products in compare.
 */

global $yith_woocompare;

if (!
$yith_woocompare) :
    
wp_redirect(esc_url(home_url('/')));
endif;

get_header();

/* Hook Display popup window */
do_action('nasa_before_page_wrapper');
?>

<div class="page-wrapper nasa-view-compare">
    <div class="row">
        <div id="content" class="large-12 columns">
            <!-- Compare products -->
            <?php
            elessi_products_compare_content
(true);
            
            while (
have_posts()) :
                
the_post();
                
the_content();
            endwhile;
            
?>
        </div><!-- end #content large-12 -->
    </div><!-- end row -->
</div><!-- end page-view-compare wrapper -->

<?php

do_action
('nasa_after_page_wrapper');

get_footer();