Reply To: Woo product post type-add thumbnail/cart button in home page custom query widget

#21732
webbrewers
Participant

The site I was working on is finished and I no longer have access but to get woo/theme compatibility you need to follow those directions to replace the wrapper element woo uses with what the theme uses. So look at page.php to see what the theme uses to start the content area. Chances are it’s <div id=”content” class=”site-content”> so try:
function my_theme_wrapper_start() {
echo ‘<div id=”content” class=”site-content”>’;
}

function my_theme_wrapper_end() {
echo ‘</div>’;
}

  • This reply was modified 9 years, 3 months ago by webbrewers.