This topic has 8 replies, 3 voices, and was last updated 7 years, 12 months ago ago by 8theme
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/
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
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
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
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
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
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
Hi,
Have you activated the child theme to apply your changes?
Tagged: archives, categories, remove, templates, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up