Wednesday, 2 December 2015

Help integrating woocommmerce with 3rd party theme

I'm not sure if this is the correct sub to post this in, but /r/wordpress isn't very active. If it isn't, feel free to link me to a sub that is, I'll gladly remove my post.

I've been trying to integrate woocommerce with a 3rd party theme, however the loop in my specific theme is different than the one shown in the integration guide. It starts the same off pretty similar,

if( have_posts() ){ 

but there is no

<?php endif; ?> 

I tried finding the end bracket and deleting everything in between, then replacing that with

<?php woocommerce_content(); ?> 

but all that did was give me errors when trying to load a page on my website. Any help is greatly appreciated, thanks!

Here is the entire page.php (JSfiddle link because I'm not sure what else to use :P)



Epic visual tool

Epson 5030UB 2D/3D 1080p 3LCD Projector Submitted December 03, 2015 at 12:09AM by nicocappa http://ift.tt/1QfJEOb

No comments:

Post a Comment