| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/HostingSpaces/admin/old247sms.co.uk/247sms.co.uk/wwwroot/top/goalklub/shop/ |
Upload File : |
<?php
/**
Shop Products Lisitng
* @package LMS
*/
/***************** Shop Page ******************/
if(is_shop()){
$cs_shop_id = wc_get_page_id( 'shop' );
//<!-- Col Md 12 -->
$content_post = get_post($cs_shop_id);
$content = array();
if($content_post){
$content = $content_post->post_content;
}
if($content){
echo '<div class="col-md-12">';
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
echo force_back($content, true);
echo '</div>';
}
//<!-- Col Md 12 -->
echo '<div class="col-md-12 lightbox">';
if ( have_posts() ) :
echo "<div class='cs_shop_wrap'><ul class='products'>";
while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'shop/content', 'product' ); ?>
<?php endwhile; // end of the loop.
echo "</ul></div>";
endif;
echo '</div>';
}