cancel
Showing results for 
Search instead for 
Did you mean: 

H2 Tag Adjustment - Subcategories

SOLVED

H2 Tag Adjustment - Subcategories

Magento ver. 1.9.3.4 - https://shop.andersonprocess.com/

 

I am doing some major SEO adjustments to my website and noticed that all of my category pages have absolutely no H2 tags. I am wanting to make every subcategory of the main category be the h2 tags on the page, but can't seem to figure out how. I've tried and it works on the main category page, but when I go to the actual category page it will display with <h2> and </h2> and I obviously don't want that.h2 tags.JPG

 For instance, on this page... I want Diaphragm Pumps, High Temperature Pumps, Metering Pumps and Peristaltic Pumps to be my H2 tags on the Positive Displacement Pumps category page. Looking for some help! Look forward to the feedback.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Re: H2 Tag Adjustment - Subcategories

This isn't standard Magento functionality so probably comes from a custom/purchased theme that you have. Because of that it's impossible for us to say exactly where the code needs changing. 

 

Normally, the template that handles showing products on the category page is this one: https://github.com/OpenMage/magento-mirror/blob/magento-1.9/app/design/frontend/base/default/templat... so that template in your theme would be a good place to start.

 

Otherwise, I'd be searching for the classes in and around that grid in your code to find which template is responsible.

 

Screen Shot 2018-01-17 at 09.42.01.png

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!

View solution in original post

1 REPLY 1

Re: H2 Tag Adjustment - Subcategories

This isn't standard Magento functionality so probably comes from a custom/purchased theme that you have. Because of that it's impossible for us to say exactly where the code needs changing. 

 

Normally, the template that handles showing products on the category page is this one: https://github.com/OpenMage/magento-mirror/blob/magento-1.9/app/design/frontend/base/default/templat... so that template in your theme would be a good place to start.

 

Otherwise, I'd be searching for the classes in and around that grid in your code to find which template is responsible.

 

Screen Shot 2018-01-17 at 09.42.01.png

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!