WordPress.org

Forums

WooCommerce - excelling eCommerce
How to remove admin name from the shop page (2 posts)

  1. cydiasa
    Member
    Posted 2 years ago #

    http://puttinglane.com/cs/shop/

    I'm having a small issue with WooCommerce where it uses the admin first and last name as the page shop page title. How can I go about removing this?

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

  2. cydiasa
    Member
    Posted 2 years ago #

    So here is how i fixed this. the code is in your template header and this is the bit of code you need to remove.

    <h1 class="entry-title">
                            <?php if ( is_day() ) : ?>
                            <?php echo get_the_date(); ?>
                            <?php elseif ( is_month() ) : ?>
                            Monthly Archives: <?php echo get_the_date( 'F Y' ); ?>
                            <?php elseif ( is_year() ) : ?>
                            <?php echo get_the_date( 'Y' ); ?>
                            <?php elseif(is_category()) : ?>
                            <?php echo single_cat_title( '', false ); ?>
                            <?php elseif(is_tag()) : ?>
                            <?php echo single_tag_title(); ?>
                            <?php else : the_post(); ?>
                            <?php echo get_the_author(); ?>
                            <?php rewind_posts(); endif; ?>
          </h1>

    Img links
    Before
    After

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

Tags

No tags yet.