Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The main template file.
- */
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
- $view = 'archive';
- if ( is_singular() )
- $view = 'single';
- elseif ( is_search() )
- $view = 'search';
- do_action( 'pojo_setup_body_classes', $view, get_post_type(), '' );
- get_header();
- do_action( 'pojo_get_start_layout', $view, get_post_type(), '' );
- echo '<div class="hentry"><div class="entry-page">';
- if ( class_exists( 'WCV_Vendor_Shop' ) ) {
- WCV_Vendor_Shop::shop_description();
- }
- woocommerce_content();
- echo '</div><!-- div.entry-page --></div><!-- div.hentry -->';
- do_action( 'pojo_get_end_layout', $view, get_post_type(), '' );
- get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement