How to remove "Category Archives:" in category page?

This topic has 8 replies, 3 voices, and was last updated 8 years ago ago by 8theme

  • Avatar: Rex
    Rex
    Participant
    November 18, 2016 at 18:13

    Hi,
    My category page always show “Category Archives:” which is very ugly.
    I trace to following line in /themes/xstore/index.php:

    <?php do_action( ‘etheme_page_heading’ ); ?>

    I tried overwrite this action in xstore-child/functions.php but in vain.
    Please advise how to do this. Thanks.

    My web site: http://rimbi.com.tw/category/news/

    7 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 19, 2016 at 11:16

    Hello,

    We show default WP title for the categories page. You may use SEO plugin to change page title, for example, Yoast SEO https://kb.yoast.com/kb/yoast-wordpress-seo-titles-metas-template-variables/ This plugin has such option.

    Regards

    Avatar: Rex
    Rex
    Participant
    November 19, 2016 at 17:29

    Hi,
    I tried Yoast SEO and it didn’t work.
    Please refer to this snap, I just want to remove “Category Archives” from the red box:
    https://dl.dropboxusercontent.com/u/4430901/Temp/Image%2020.png

    Regards,
    Rex

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 21, 2016 at 18:01

    Hello,

    Oh, sorry, I thought you meant title in the browser tab.
    Read this post http://techmazic.com/remove-category-archive-name-category-title-wordpress-site/ maybe it helps you. We don’t have the special option for this and actually it’s not related to our theme because this is default WP settings.

    Regards

    Avatar: Rex
    Rex
    Participant
    November 22, 2016 at 09:56

    Hi,
    Thanks for the reply, but it doesn’t help.
    I found similar article, but the content of category.php is totally different.
    This is what I see:
    https://dl.dropboxusercontent.com/u/4430901/Temp/Image%206.png

    I believe category.php is overwritten by your theme. That’s why I’m asking.
    Please help solve this problem and refer to my first post. Thanks.

    Best Regards,
    Rex

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    November 22, 2016 at 16:52

    Hello,

    Find etheme_breadcrumbs function in xstore/framework/template-elements.php, copy this function in child theme functions.php and change it according to your needs.

    Regards

    Avatar: Rex
    Rex
    Participant
    November 26, 2016 at 11:36

    Hi,
    I copy the function to /xstor-child/functions.php and it still doesn’t work.
    This category page is not effected at all.
    http://rimbi.com.tw/category/news/

    Please refer to this snap.
    https://dl.dropboxusercontent.com/u/4430901/Temp/Image%201.png

    Avatar: 8theme
    8theme
    Support staff
    November 28, 2016 at 08:46

    Hi,

    Have you activated the child theme to apply your changes?

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.