admin管理员组文章数量:1122832
I´m using the atahualpa theme and have the category titles displayed on the category pages. I want the title to have H1 Tags and the site name and info H3 tags.
Right now, the category titles have H2 tags and the site name and info H1. (actually, the only place I want them to have H1 tags is on the homepage)
If you are an expert, please help me out.
I´m using the atahualpa theme and have the category titles displayed on the category pages. I want the title to have H1 Tags and the site name and info H3 tags.
Right now, the category titles have H2 tags and the site name and info H1. (actually, the only place I want them to have H1 tags is on the homepage)
If you are an expert, please help me out.
Share Improve this question asked Jan 27, 2013 at 17:22 user26622user26622 11 silver badge1 bronze badge 2 |3 Answers
Reset to default 2Try <h1><?php single_cat_title(); ?></h1>
in Archives (archive.php) on your theme file.
You need to search the files in your theme. Every author is different. It would depend on how your theme is set up. Most themes do have a category.php file. You need to search through whatever files are in your theme for the_title();
find the title for all the category stuff and I am sure you will see something like this
<h2><?php the_title(); ?></h2>
simply change the h2 to an h1 and you will be good.
I finally figured it out, go to ur theme and create a new layout then assign it to the category in archives.
本文标签: seoHow to Make your Category Titles have H1 tags
版权声明:本文标题:seo - How to Make your Category Titles have H1 tags? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736303494a1931905.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
<h*>
tags for formatting, and you should not be doing that. They are semantic. They should create a logical outline. – s_ha_dum Commented Jan 27, 2013 at 17:26