-
AuthorPosts
-
December 1st, 2017 at 16:35 #56819
Hi,
How do I get the H1 tag in the Tempera theme on the home page?
Thank youWebsite: er.v.free.fr
December 10th, 2017 at 15:08 #57073ZedCryout Creations mastermindThe H1 tag is used on the site title (if displayed). To display it part of the homepage you’d need to edit the file responsible with the homepage (normally index.php & content-index when the posts list is displayed).
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.December 10th, 2017 at 16:32 #57074Hi,
Thanks for your reply, I had understood that you had to display the title U site to have the tag <h1>, but I am not coder, I do not know how to do it.
I had thought about having a logo and the title of the site, but I don’t see either how to do it.
Does it have an option in the theme to have the logo and the title of the site at the same time?
Thank youDecember 20th, 2017 at 14:42 #57487ZedCryout Creations mastermindThe logo and site title cannot be displayed simultaneously.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.December 20th, 2017 at 18:08 #57519Hi,
But yet it absolutely takes the H1 tag so site title for referencing.
This means that I can not have a logo at the same time, not possible to add this option?
Thank youMarch 3rd, 2018 at 03:24 #60408Hi, sorry for my lack of skills in this field, I’m just a writer.
I have noticed about the titles of my posts are H2. In order to have better results in SEO I need to have the Title post H1 by default. I have more than a thousand entries.
Please, give me a hand in a very easy language please?
Thanks a lot,
Marcelo
Website: www.natura-medioambiental.com
March 7th, 2018 at 14:12 #60607ZedCryout Creations mastermind@Wakachuli, post title in posts lists use the H2 tag (and the site title, if displayed, has the H1 tag). Post titles in single post sections use the H1 tag.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.March 7th, 2018 at 15:50 #60634Hi,
https://www.natura-medioambiental.com/la-sobrepoblacion-y-el-medio-ambiente-desafios-ante-el-cambio-climatico/
The title is well in H1 !But there’s no H1
https://www.natura-medioambiental.com/
He put a image or a logo, from the shot of H1March 7th, 2018 at 16:45 #60640Thanks Zed and Wolfneo, so my title of the post has H1? Should I fix something? Thanks a lot for your help.
Marcelo
Website: www.natura-medioambiental.com
March 7th, 2018 at 16:48 #60641March 26th, 2018 at 13:29 #61323ZedCryout Creations mastermindThe post title in a single post section uses the H1 tag.
Post titles in a posts list (which the homepage is) use the H2 tag. On the homepage the H1 tag is used only by the site title (which natura-medioambiental.com does not display).If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.March 26th, 2018 at 15:18 #61356hi,
that’s the problem, is to have a logo and the title at the same time.
If you want a logo, not possible to have the H1, not good, force yourself to have the title, without logoNovember 3rd, 2018 at 17:15 #70095naomiPower UserHello 🙂
Using your Nirvana theme, I have checked the source code via CTRL+F and found that there is no <h1> tag. The title seems to be wrapped in the <title> tag only.
Basically, the page starts with the <h2> tag for the page title.
I am not using any logo, so I have checked the customizer and the Nirvana settings, on both pages the checkbox for displaying title and undertitle are checked.
I am looking forward to your reply!
Kind regards,
NaomiNovember 3rd, 2018 at 17:53 #70097Hi,
Without answer, I changed the theme.
But cheched for displaying the title and undertitle, this will appear on the logo.
and if we do not want the title and undertitle, on the image, we will have to use CSS of the blow, that’s it?November 3rd, 2018 at 18:34 #70098naomiPower UserHi Wolfneo,
the Nirvana theme at least contains a header widget on the right side of the title. You could include your logo via a simple picture widget although it is not the best solution.
Finding a CSS option does not sound very sufficient since the <h1> tag is HTML and since I also would rather tend to include a picture (a logo) with HTML. Yesterday, I saw an editor to check and/or edit “at your own risk” in the design section, called “editor” something. For some reason, it is not there anymore. Otherwise I would have checked if we could find a solution there.
November 3rd, 2018 at 18:41 #70099Hi,
Yes, for the header widget but it’s getting around the problem, not my way of doing it.
@Wakachuli always has the theme, to see with him.For the CSS, I meant, that if you have to activate the display of the title and the undertitle, all this may appear on the image.
So, you’ll have to use CSS code to hide the two lines on the image, like display: none.Thank you
November 3rd, 2018 at 19:08 #70100naomiPower UserYeap, in this case I agree with you.
I do not use any logo or anything like it. It is the missing <h1> tag although I activated the title (which I want to display btw.) that causes me troubles ^.^
November 3rd, 2018 at 19:12 #70101What is the address of your site?
November 3rd, 2018 at 19:18 #70102naomiPower UserMy address is earth-renewing.com. I am pretty new to WordPress and am currently setting up all necessities.
November 3rd, 2018 at 19:28 #70103Do you have a child theme?
Maybe can be changed
<h2 class="entry-title"><?php the_title(); ?></h2>
in H1
in content/content-page.phpNovember 3rd, 2018 at 19:42 #70104naomiPower UserNo, I am not using a child theme.
I just checked the file you mentioned and found this:
<?php <strong>if</strong> ( is_<strong>front_page</strong>() ) { ?> <<strong>h2</strong> class="entry-title"><?php the_title(); ?></h2> <?php } <strong>else</strong> { ?> <<strong>h1</strong> class="entry-title"><?php the_title(); ?></h1>
Then I checked my other pages which are not the front page … You just made me realize that there is nothing wrong with the theme, it is only the front page that does not have a <h1> tag :-)) Thank you!
November 3rd, 2018 at 19:55 #70105hi,
https://codex.wordpress.org/Child_Themes
or
https://www.cryoutcreations.eu/wordpress-tutorials/wordpress-child-themes/2
or a plugin
https://wordpress.org/plugins/child-theme-configurator/See in content/content.php or other files.
November 3rd, 2018 at 19:59 #70106naomiPower UserThank you! I’ll definitely check it out!
-
AuthorPosts
The topic ‘How to enable H1 tag in Tempera home page’ is closed to new replies.