• Theme- Just Write

    I found the documentation for <?php if ( have_posts() ) : <?php endif; ?>

    Replace with
    <?php woocommerce_content(); ?>

    This theme does not include php if and end. The page.php code is as shown below-

    <?php
    /* ------------------------------------------------------------------------- *
     *	Normal page template
    /* ------------------------------------------------------------------------- */
    
    get_header(); ?>
    
    <section class="container<?php ac_mini_disabled() ?> clearfix">
    
    	<?php get_template_part( 'page-templates/template', 'page' ); ?>
    
    </section><!-- END .container -->
    
    <?php get_footer(); ?>

    Where can I find <?php if ( have_posts() ) : <?php endif; ?>. Will it be located in a template? I did not want to mess around to much as I am not proficient in php.

    Sincerely,
    John Buchanan
    Buchanancomputer.com

The topic ‘Replacing Loop-WooCommerce’ is closed to new replies.