• Hello,

    I’m trying to remove the page titles on WooCommerce pages, but I’m not having much success.

    I’ve created a child theme with a folder called woocommerce in it. Inside this is a copy of the file archive-product.php

    However, edits to this file have no effect on the page titles on my WooCommerce pages. Even if I edit the file directly in the WooCommerce plugin, it still has no effect, so I’m completely lost on this issue!

    I’ve managed to edit the product title tags by editing title.php which I have in my child theme woocommerce/single-product/title.php so I’m not sure why this method isn’t working for the page titles?

    Can anyone tell me what I’m missing, and save my sanity?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 1 replies (of 1 total)
  • Thread Starter magicalwonders

    (@magicalwonders)

    I think I’ve solved the problem!

    I still don’t know why changes to archive-product.php have no affect, but I’ve found an alternative.

    I’ve created a new file in my child theme functions.php and have included this code –

    <?php
     //Hide Page Title
    add_filter('woocommerce_show_page_title',false);
         /*
     <?php } ?>

    Sanity restored! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Edit of archive-product file to remove page titles not working’ is closed to new replies.