Support » Plugin: WooCommerce » Remove Base Page Title

Viewing 15 replies - 1 through 15 (of 18 total)
  • I think I have fixed this.

    For anyone who needs this in the future. It is in the woocommerce-template.php

    look for <h1 class="page-title">

    and

    echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title );

    Remove both of these

    thank you! im looking for this too !!!
    and… if i want to fix diff. word how can i change ?

    You change the wording by going into your woocommerce settings under “pages”

    thank you!
    by any chance do you know how to remove picture outline..?

    I’d imagine that has more to do with your theme. Sorry.

    Where exactly is this code located?
    echo apply_filters( 'the_title', ( $shop_page_title = get_option( 'woocommerce_shop_page_title' ) ) ? $shop_page_title : $shop_page->post_title );

    I’ve been trying SO hard to remove the base title >.<
    I had named one of my h1 tags page-title as well but when I removed it nothing happened. I tried looking into the archive-product.php file , still nothing worked!
    I hope this works! I just need to locate that code!
    aaaahhhhhh ! lol

    Please help.

    Uh Oh Spaghetti Os

    (@uh-oh-spaghetti-os)

    Hi there,

    Might be a little too late, but for anyone wondering:

    You can find woocommerce-template.php under wp-content/plugins/woocommerce

    The line of code you’re looking for from this thread (providing you havent altered your woocommerce-template) is line 43

    I removed the two lines as you said, but nothing happened…
    It still shows the page-title…

    the file is in /plugins/woocommerce/archive-product.php

    Hey everyone!!

    How can I change the name of the product Page Title that appears in the browser tab.

    Mine currently reads (Product). I want to change this title.

    Any help would be greatly appreciated.

    I have the same issue as RealGlinton.

    How can I change the name of the product Page Title that appears in the browser tab.

    Mine currently reads (Product). I want to change this title.

    Any help would be greatly appreciated.

    Any ideas?

    here is a solution for the page title

    in the header.php file of your active theme, look for the <title> element and replace it with the following code.

    <title><?php if ( is_shop() ){ bloginfo("name"); } else { wp_title( '|', true, 'right' ); } ?></title>

    if shop catalog page: show blog name (set it up under settings > general).
    else show normal wp_title.

    you also could
    echo "Some fancy String";

    but the above solution is more dynamic and controllable via backend.

    Pretty old forum but I had the same issue as @realglinton and @friskokitty. I found that troublesome “Products” title in the woocommerce.php file on line 22: `* Post Types
    **/
    do_action( ‘woocommerce_register_post_type’ );

    register_post_type( “product”,
    array(
    ‘labels’ => array(
    ‘name’ => __( ‘YOURSTORENAMEHERE’, ‘woocommerce’ ),`

    Hope this helps.

    Thank you Josaphi!!!

    Josaphi, you’re a legend!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Remove Base Page Title’ is closed to new replies.