Products/Catelog page displays the Sort option below main content
-
For some reason, the orderby/sort option is placed after the main content/products on the catalog page. For my theme, I’ve placed a woocommerce.php file in my theme directory as recommended.
<?php get_header(); ?> <section id="main" > <div class="row"> <?php layout::side( 'left' , $post_id , 'single'); /*left sidebar*/ ?> <?php woocommerce_breadcrumb(); ?> <div class="delimiter"></div> </div> <div class="row"> <div id="primary" class="<?php echo tools::primary_class( 0 , 'post', $return_just_class = true ); ?>"> <?php woocommerce_content(); ?> </div> <?php layout::side( 'right' , $post_id , 'single'); /*right sidebar*/ ?> </div> </section> <?php get_footer(); ?>
Here’s what gets generated (simplified):
<div id="primary" class="nine columns"> <h1 class="page-title"> Shop </h1> <div class="page-description"></div> <ul class="products"> <div class="clear"></div> <form class="woocommerce_ordering" method="POST"> <select class="orderby" name="sort"> </form> </div>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Products/Catelog page displays the Sort option below main content’ is closed to new replies.