![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
June 24, 2019 at 1:50 pm #1112923
Hi,
I just noticed that all of my blog posts have duplicate h1 tags. In addition to standard h1 tag that I added by myself to titles
<h1> title </h1>
the theme adds this one automatically:<h1 class=’post-title entry-title’ > Post Title <span class=’post-format-icon minor-meta’></span> </h1>
The same issue was already discussed in this thread, but I tried the offered solution and it didn’t work for me (I checked after clearing the cache, cookies and so on).
Thanks in advance for your help!
Regards,
Artem-
This topic was modified 5 years, 2 months ago by
artemtik.
June 25, 2019 at 4:18 pm #1113272Hey artemtik,
Could you please attach some screenshots of the issue?
Best regards,
VictoriaJune 25, 2019 at 4:38 pm #1113280Hi Victoria,
Sure! Please, see below:
June 25, 2019 at 9:11 pm #1113380Hi artemtik,
Thank you. Looks like the first is the post title rendered by the code and the second one is manually added to the post content. Am I correct?
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaJune 25, 2019 at 9:58 pm #1113393Looks like the first is the post title rendered by the code and the second one is manually added to the post content. Am I correct?
Yes, that’s right. I have added manually h1 tag in text editor. And that’s the way I would like to do it – to have a full control over them.
Thanks,
ArtemJune 26, 2019 at 7:01 pm #1113693Hi Artem,
If you want full control you can use the Advanced Layout Builder to build post, then you will have to add all the elements manually. Please try that.
Best regards,
VictoriaJune 26, 2019 at 8:28 pm #1113712I just want not to have any auto generated H1 tags. I don’t want to use ALB for several reasons.
Also, I have quite a lot of posts to re-build them in ALB even If I wanted to do it.
There was a solution in another thread I mentioned above, but for some reason it doesn’t work for me. I would be really thankful if you can help me to have no auto-generated H1 with the default editor.
June 27, 2019 at 11:04 am #1113885I did a research for other related threads, and found and tried all of these:
1. https://kriesi.at/support/topic/duplicate-h1-tags-2/
2. https://kriesi.at/support/topic/two-times-h1-tag-not-perfect-for-seo/
3. https://kriesi.at/support/topic/remove-link-from-etry-title/
4. https://kriesi.at/support/topic/hide-the-h1-main-title-entry-title-at-the-header/
5. https://kriesi.at/support/topic/delete-the-title-in-posts-post-title-entry-title/
6. https://kriesi.at/support/topic/enfold-construction-h1-problem/But nothing of that worked for me. Maybe it’s due to some changes of code in the latest Enfold updates.
Will be waiting for the solution.
Thanks,
ArtemJune 28, 2019 at 11:39 am #1114212Hi Artem,
Can you please have Appearance > Editor enabled?
Best regards,
VictoriaJune 28, 2019 at 11:51 am #1114221Hi Victoria,
Done ;)
Best regards,
ArtemJune 29, 2019 at 2:18 pm #1114434Hi Artem,
Please disable all caching for now too.
Best regards,
VictoriaJuly 3, 2019 at 11:14 am #1115429Hi Victoria,
Sorry for the delay – I was offline for a few days.
I’ve disabled cache plugin and CDN for now.
Best regards,
ArtemJuly 5, 2019 at 3:27 pm #1116054Hi,
Thank you for the update.
That is the default post title container. If you want to remove it, use the following snippet in the functions.php file.
remove_filter( 'post-format-standard', 'avia_default_title_filter', 10, 1 );
OR edit the includes > loop-index.php file and remove this code (line 286).
echo $title;
Best regards,
IsmaelJuly 5, 2019 at 10:40 pm #1116097Hi Ismael,
Thank you for your help. Adding the snippet in the functions.php didn’t work for me. But removing
echo $title;
has done the job!Thanks once again for your help.
Best regards,
ArtemJuly 6, 2019 at 7:41 pm #1116322Hi,
Glad Ismael could help, unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeJuly 10, 2019 at 12:17 pm #1117402Hey Mike,
Yes, sure – you can close the thread now.
Thanks once again, and have a great day ;)
Best regards,
ArtemJuly 10, 2019 at 12:51 pm #1117421Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This topic was modified 5 years, 2 months ago by
-
AuthorPosts
- The topic ‘Duplicate H1 tags in posts’ is closed to new replies.