Mini tutorial on how to get Woocommerce perfecly integrated into your already existing wordpress theme: this case Responsive By emiluzelac, a very good and really responsive theme for your wordpress blog.
Unfortunately this theme as a large number of themes, does not have the woocommerce optimization in order to get a perfect ecommerce wordpress platform. Infact woocommerce itself works great! It just need this little help. But, hey it is worth the effort!
The Solution: Just copy your
then replace all in within this statement (including the statement!) until the corresponding ‘end if’
<?php if (have_posts()) : ?>
<?php woocommerce_content(); ?>
You should end up with this:
<?php // Exit if accessed directly if ( !defined('ABSPATH')) exit; /** * Pages Template * * * @file page.php * @package Responsive * @author Emil Uzelac * @copyright 2003 - 2013 ThemeID * @license license.txt * @version Release: 1.0 * @filesource wp-content/themes/responsive/page.php * @link http://codex.wordpress.org/Theme_Development#Pages_.28page.php.29 * @since available since Release 1.0 */ ?> <?php get_header(); ?> <div id="content"> <?php woocommerce_content(); ?> </div><!-- end of #content --> <?php get_sidebar(); ?> <?php get_footer(); ?>
Save, open your website/shop page, et voilà!
All working as expected!
Comments are welcome!
About this theme: