gkPortfolioTitle - SEO H3 to H2 tags not working

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Dec 22, 2014 9:42 am
Reply with quote
Report this post
Hello, I am trying the advanced parameters for gkPortfolioTitle. I want H2 instead of H3.

I have done the change in this module "Notre[br]choix de[br]Profs[icon-arrow-bottom]"

I have a System - Header Tags plugin which I have disabled/excluded and tested for this module, but it doesn't seems to be the problem.

Regards.
User avatar
Platinum Boarder

GK User
Mon Dec 22, 2014 9:43 am
Reply with quote
Report this post
The module is on the homepage: http://www.quebecguitare.ca/

Ref: gkNspPM gkNspPM-Portfolio2 active"
User avatar
Platinum Boarder

teitbite
Mon Dec 22, 2014 3:22 pm
Reply with quote
Report this post
Hi

This titles are created by /html/modules.php file and it's used by every module, so easier will be to make this one title look as a H2 with css than to change this one to that. But if You need H2 for some other reason then look than try publish a custom html module above it with just <h2></h2> and disable showing the title in the module You have in mind.
User avatar
Moderator

GK User
Mon Dec 22, 2014 4:33 pm
Reply with quote
Report this post
Hi,

I tried with a custom HTML module with just <h2></h2> in it, but the module ordering either goes over or under the desired targeted module for the tag.

I also tried with NoNumber module anywhere in the title of the targeted module but no luck.

There is something I probably understand.
Could you elaborate on this smart trick?

Thank you,
Regards.
User avatar
Platinum Boarder

teitbite
Tue Dec 23, 2014 5:54 pm
Reply with quote
Report this post
Hi

I'll help, but first I need to know what is the purpose of having H2 there ?

1. Is it because of SEO ?
2. Or just to make it look nicer. In this case please tell me the url to the page where You have an example of H2 header, so I will be able to copy a style for it.
User avatar
Moderator

GK User
Tue Dec 23, 2014 6:16 pm
Reply with quote
Report this post
Hi Teitbite,

1. It's for SEO purposes.
Thank you,
Regards
User avatar
Platinum Boarder

teitbite
Sat Dec 27, 2014 7:35 pm
Reply with quote
Report this post
Hi

You have changed my user access to joomla panel so I could not make it, but I have an idea for a fast solution.

Please edit /html/modules.php and under line 78, which should looks like this:

Code: Select all
      $header_type = '3';


add this code:

Code: Select all
if($module->id=="ID_OF_THE_MODULE_IN_QUESTION"):
      $header_type = '2';
endif;
User avatar
Moderator

GK User
Mon Dec 29, 2014 11:23 am
Reply with quote
Report this post
Hello, this seems to work for the module title.

However there is a misunderstanding. Please have a look at my capture picture in my first post. I was referring to the H3 inside the active window class="gkPortfolioTitle active".

On a second thought, are these even visible by search engine crawlers given that's it's a javascript window for each overview?

Regards
User avatar
Platinum Boarder

teitbite
Mon Dec 29, 2014 11:58 am
Reply with quote
Report this post
Hi

But there is no H3 inside "gkNspPM gkNspPM-Portfolio2 active" layer ;/ The closest to it is "Notre choix de Profs". And the above solution should work this one.
User avatar
Moderator

GK User
Mon Dec 29, 2014 12:06 pm
Reply with quote
Report this post
There is, have a look in attachment. Are they visible by Google inside that module anyway?

Thank you
User avatar
Platinum Boarder

teitbite
Mon Dec 29, 2014 10:07 pm
Reply with quote
Report this post
Hi

Thanks, I understand now. This is generated with AJAX after selecting an article, so robots will not see it.
User avatar
Moderator

GK User
Tue Dec 30, 2014 6:02 am
Reply with quote
Report this post
Thank you for your time Teitbite. Ajax... OK solved.

Regards
User avatar
Platinum Boarder


cron