• I have woocommerce, and I made a page template for the store. It’s worked very well so far, but I haven’t been able to move the sidebar from the bottom of the page to the top. I’m not sure what template it’s using to display the products. It’s been good so far, so I’m confused. Here is my code:

    <?php
    /**
    * Template Name: Shop
    */
    get_header(); ?>
    <?php get_sidebar('shop'); ?>  
    
    <div id="shop">
    <div class="book">
    <a href="<?php the_permalink() ?>"><?php echo get_the_post_thumbnail(); ?></a>
        <h3 class="popular-title"><a href="<?php echo get_permalink(); ?>"><?php the_title(); ?></a></h3>
    <?php echo get_post_meta($post->ID, "price", true); ?>
    </div>
    
    </div>
    
    <?php get_footer(); ?>
  • The topic ‘Sidebar problem’ is closed to new replies.