Hello Team,
I have added a table of content in the article posts, but see there are two issues:
See example : https://www.captainforest.com/how-will-a-plastics-treaty-make-a-difference-in-solving-the-plastics-crisis/
1) the title of the article is considered H1 and it is added as H1 in the table of content.
How have I added the title -> from guntenberg … and saw in guntenberg to add a title, it’s this code :
<!– wp:post-title /–>
I removed gutenberg, and went back on classical editor (because of the many issues with gutenberg) and put this code at the begining of the article (code tab of the edit post): <!– wp:post-title /–> why is it considered H1 ?
2) At the end of the table of content it ads related as H2 .. but related are a flex block so I don’t know why it is considered H2 and if you click on related in the content table it brings nowhere..
Hi,
I checked the https://www.captainforest.com/how-will-a-plastics-treaty-make-a-difference-in-solving-the-plastics-crisis and you have many h1 elements, there should be only one per page, and usually this is the article title, having more then 1 will breck your SEO.
Also, the situation with the “Related” element from the TOC seems to be somehow related to the the popup element you have set in the page https://i.imgur.com/zANmItD.png
Thank you!
For the modal :
Line 1 is inner text
Line 2 is modal
I have combined them to create a newsletter pop up
In the modal I see no H1, .. , H4 option
In the text with title,
a) the title is H2 (subscribe to our newsletter) -> Do you think it’s because of this? in which case how to have a big font without selecting H1 or H2?
b) the tagdiv option of text with title, I have the H4 default title SEO selected -> or do you think it’s because of this ? in which case I can’t do anything because there is no empty option
What can I do to remove the related in the table content please?
Hello,
The modal title https://i.imgur.com/fYIgbhU.png has by default the h3 and there is no option to change it.
Also, the H1 elements you have are in post content. If you want the text to be bigger just change the font size for that text when you set it – https://i.imgur.com/wtvRpe6.png or when tagDiv Composer is sued check the style tab of the element – https://i.imgur.com/CmAKTtx.png
Normally that popup is set using a the popup modal from Newspaper and is displaying a page that contains the Newsletter and at the bottom is displayed the “Related” from an extra plugin, from JetPack. To disable related posts in Jetpack, navigate to Jetpack > Settings > Traffic in your WordPress dashboard. Then, find the “Related Posts” section and toggle off the “Show related content after posts” setting, according to Jetpack’s support documentation. This will remove the related posts feature from your site.
Thank you!