Support » Plugin: WooCommerce » Site comments showing on category and tag pages

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Amanda

    (@amandasjackson)

    Hi @debycoles

    This kind of problem is usually caused by either a conflict with your theme or with another plugin.
     
    The best way to determine this is to:
     

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    debycoles

    (@debycoles)

    Thank you Amanda, yes that’s the standard way of course, but it won’t really fix anything. I need the plugin to work with my existing theme really, not switch to storefront. I’ll see if the theme writers can help turning off the comments.

    Hello Debycoles,
    I have exactly the same problem, have you resolved this problem ?
    Thank you

    I have seen on your website for solution you use ccs with display:none .
    the problem is google can read all comments on this page, so there is a duplicate content with all comments of others pages.

    @orfevre13 Yes that was the only way I could fix it. I realise its not perfect, but I couldn’t make it work any other way. If you come up with something better, plus do reply back here later.

    yes I’ve found the solution.
    Please copy/paste here your page.php from your template.

    • This reply was modified 3 months, 2 weeks ago by  orfevre13.
    Russ Powers

    (@russwebguy)

    The solution to this issue is super easy. Just follow the steps below 🙂

    1. Create a new file in your theme directory called woocommerce.php

    2. Copy the code from your theme’s page.php file and paste it in the woocommerce.php file

    3. now replace get_template_part( 'loop', 'page' ); with woocommerce_content();

    4. Save woocommerce.php

    That should remedy the issue, but I also recommend adding WooCommerce support to your theme by adding the following code to the end of your functions.php file:

    function mytheme_add_woocommerce_support() {
        add_theme_support( 'woocommerce' );
    }
    
    add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );
Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.