WordPress.org

Forums

WooCommerce - excelling eCommerce
Removing the Page Title, Sorting in Shop (4 posts)

  1. lozadaOmr
    Member
    Posted 1 year ago #

    What can I do remove the Page Title (Shop), sorting.

    Seen on this Image?

    http://wordpress.org/plugins/woocommerce/

  2. BLuu123
    Member
    Posted 1 year ago #

    add

    .woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    display:none;
    }
    
    .woocommerce .woocommerce-result-count, .woocommerce-page .woocommerce-result-count {
    display:none;
    }

    To stylesheet.

    You cannot do that for H1 tag, as it will remove that H1 tag in every page. You can edit the archive-product.php, on the top there is this code, change it to with false:

    <?php if ( apply_filters( 'woocommerce_show_page_title', false ) ) : ?>
    
    			<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
    
    		<?php endif; ?>
  3. lozadaOmr
    Member
    Posted 1 year ago #

    Thank you @BLuu123

    The CSS work greatly!

    Unfortunately I have done what you suggested on the archive-product.php, but there was no change. 'Shop' still appears.

  4. BLuu123
    Member
    Posted 1 year ago #

    Ok, then you have the same problem I have in http://wordpress.org/support/topic/editing-the-placement-of-content-in-shop-page?replies=1

    You need to activate the archive-product.php

    Try moving that file to a woocommerce folder in your theme. There are instructions at the top of that file.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic