-
AuthorPosts
-
March 4, 2014 at 12:33 pm #232157
Hi.
I see that the theme don’t make a H1 tag from the titel of the page or post. I learn that the titel must be a H1 tag and the rest op de subheadings a H2 or H3 tag.
Is there a way to implement that? Because Google love’s this for a higher search ranking.
Thanks in advance
March 4, 2014 at 4:33 pm #232279Hi Miikey!
Page titles are already H1 tagged http://i.imgur.com/ug3L7vC.jpg
For post titles, please go to wp-content\themes\enfold\includes folder and open helper-post-format.php file and find$heading = is_singular() ? "h1" : "h2";
and change it to
$heading = is_singular() ? "h1" : "h1";
Cheers!
YigitMarch 4, 2014 at 5:02 pm #232296Hi Yigit,
Thank you for answer. If I check the source from a page for example that named: ‘Veelgestelde vragen’ than I see this:
Veelgestelde vragenI see no H1? I can’t give you any link now because I build my site offline at this moment.
So if it is not in the source I think Google also don’t see it is a heading 1?If you do some changes in the theme and you going to update the theme, will the changes remain?
March 4, 2014 at 5:03 pm #232298<a href="http://127.0.0.1:4001/wordpress/veelgestelde-vragen/" rel="bookmark" title="Permanente Link: Veelgestelde vragen" itemprop="headline">Veelgestelde vragen</a>
March 4, 2014 at 5:06 pm #232302Sorry you have right. I inspect it with firebug and then you see this.
<h1 class="main-title entry-title"> <a itemprop="headline" title="Permanente Link: Veelgestelde vragen" rel="bookmark" href="http://127.0.0.1:4001/wordpress/veelgestelde-vragen/"></a> </h1>
March 4, 2014 at 5:06 pm #232303Hi!
Can you post a screenshot showing the source code and the title? This anchor tag should be inside of an H1 tag
Best regards,
YigitMarch 4, 2014 at 5:10 pm #232305I see that post titels are also H1 with Firebug.
Why I must change that? :)March 4, 2014 at 5:16 pm #232309Hey!
We have posted at the same time :) If they are inside h1 tag on your end as well, problem solved?
Cheers!
YigitMarch 4, 2014 at 5:20 pm #232312Alright.. Thanks for helping.
I have put some code in my header.php for sharebuttons on my website.
When I update the theme, then I lose these code?
What is the best option in this case?March 4, 2014 at 5:21 pm #232314Hi!
You are welcome!
Yes, when you update the theme header.php file would be overwritten. Best option is Using a Child ThemeRegards,
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.