Marketpress post-title

Currently the words “Our Products” are displayed above every product category page. How can I change this to show the product category name instead of “Our Products”? For example, this page should have the category heading “Wigs”: http://www.hello-beautiful-boutique.com/store/products/category/wigs/

  • Mason
    • DEV MAN’s Sidekick

    Hiya,

    This would be done by the theme. For instance, when I view a product category with the twentyeleven theme I get “Product Category: Dresses” which is what you have in the web browser title on your site.

    To change for MarketPress categories specifically, you’ll want to make a copy of your theme’s category.php or archive.php and rename it mp_category.php. This template will now be used by MarketPress category pages.

    Find the H1 tag in your new copy and change it to read whatever ya like. For twentyeleven it’ll look something like this:

    <h1 class="page-title"><?php
    printf( __( 'Product category: %s', 'twentyeleven' ), '<span>' . single_cat_title( '', false ) . '</span>' );
    ?></h1>

    Again, it’ll be largely dependent on the theme though.

    Hope this helps. Thanks!