Which one of the two codes can work? And does the code only show the H1 on the homepage and not on the postpages?
Greetings Kathrin
Thank you Calin, but my layout looks a little bit different. I haven’t any symobols for desktop and mobile on the pages-site. Just a mobile editor which is emtpy. The mobile symbol just appears in the postings…
I have disabled Gutenberg. Could this be the problem?
The pictures in the link show what I see: https://www.topfgartenwelt.com/newspaper_3
Greetings Kathrin
Ok, the code of this document is:
<div id=”td-header-menu”>
<div id=”td-top-mobile-toggle”><i class=”td-icon-font td-icon-mobile”></i></div>
<div class=”td-main-menu-logo”>
<?php
locate_template(‘parts/logo.php’, true, false);
?>
</div>
<!– Search –>
<div class=”td-search-icon”>
<i class=”td-icon-search”></i>
</div>
</div>
What and where I should put the code snippet that “Topfgartenwelt – Gartenblog | Foodblog | Familienblog” is a H1 and what kind of code I have to add that after clicking on an article the title tag of the article gets an H1 and not the title of the homepage?
Would one of this codes be a solution? Or do you have another one?
<?php $headertag = ( is_front_page() ) ? ‘h1’ : ‘h6’; ?>
<hgroup>
<<?php echo $headertag; ?> class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></<?php echo $headertag; ?>>
<h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
</hgroup>
or
<?php
is_front_page() ? $title_tag = ‘h1’ : $title_tag = ‘div’;
?>
<<?php echo $title_tag; ?> id=”site-title”>
/”><?php bloginfo( ‘name’ ); ?>
</<?php echo $title_tag; ?>>
Thank you
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
-
This reply was modified 6 years by
Topfgartenwelt.
Thank you very much! I know that 🙁 Could help a childtheme?
Greetings Kathrin
The purple ones are just normal subcategories and no subsubcategories. A subcategory is just Ostern (easter). I found in the composer an option that the display of subcategories was limited to maximal 4. I think that was the problem. Now you can see all subcategories. But before the update there was a drop down option for more than 4 subcategories. I can’t find it anymore.
Greetings Kathrin
Greetings
Dear Calin, this is not exactly what I mean. The H1 Heading in the desktop-version works. I have deactivated in the composer the H1 on the logo to avoid duplicate content. For the Mobile version, I use the mobile plugin and the therefore a different header which is just available in the mobile version. Here is no H1 defined. I always get the message from the seo-tool urgent do to –> add a H1 header.
When I make some changes in the theme-panel, the mobile version of the theme always changes to responsive version of the desktop. In this case the H1 Header is correct. But I want to use the mobile plugin header….
Greetings Kathrin
Ok thank you very much. Is there a way to separate the mega menu from other blocks in Homepage. I only want to have that the block on the homepage that shows the recent posts shows up H2 Headings. There should be no headings in the mega menu and no headings in the block which is integrated in the sidebar.
Greetings Kathrin
I’ve tried to add a new flex block and set it to h2 but that didn’t work too. It doesn’t matter which kind of heading I choose in the tagdiv-composer it always shows a h3. That is really no solution!!!
Why it is just possible to adjust the Title Tag but not the headings that are shown in the flexblocks. They are always h3. Where I can find them in the code to adjust it there? And how I can get rid off the dublicate H1?
-
This reply was modified 6 years by
Topfgartenwelt.
The link to the homepage is https://www.topfgartenwelt.com and you can see it in this seotool for example: https://freetools.seobility.net/de/seocheck/check?url=https%3A%2F%2Fwww.topfgartenwelt.com%2F&crawltype=1
Greetings Kathrin
Maybe you can add this in a future update 🙂
Dear Vlad, I have cleared the cache but there is no change. The flex block is set to h2, but it shows a h3 heading. And why there is a duplicate H1? You didn’t answer that question! Here is a link with pictures: https://www.topfgartenwelt.com/newspaper
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
I have created the megamenu in the following way:
Familie (categorie) with the following subcategories:
– Bei mir daheim
– Belletristik
– Deko (here it shows the subsubcategorie Ostern next)
and the following subcategories are missing:
– Endometriose
– Kinderbücher
– Kinderwunsch
– Schwangerschaft
All the other categories show the same problem: the first 4 categories are shown, but the rest is missing. Before the update there was a drop down option but this one is lost. The mega menu is set up correctly in design (appearance –> menu). So how I can get back the dropdown-option and is there a way that a subsubcategorie like easter is shown like such one? Everything in the menu looks as the same, there is no more difference if its a subcategorie or not. The standardpack is disabled.
Thank you very much!
Greetings Kathrin
Ok, but why it doesn’t show all categories in the first and second line at all? That is the biggest problem. Most of the categories are missing!!! They are not showing up!
Greetings Kathrin
The content is correct and the links are working…
Greetings Kathrin
Dear Calin, I have chosen a plugin now. The code from the first post works perfectly with the standard-pack, but as soon as I disable it, the schema markup isn’t shown anymore. It seems that the header from the composer isn’t used… How this could be?
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
No there is no email in the spam and I included the link to this topic in the mail. My adress is topfgartenwelt @ gmx . at
Greetings Kathrin
You see the desktop-version of the footer. That is completely wrong. The mobile version should contain the logo as i posted, but for the custom html there appears a white line instead a black one…
Greetings Kathrin
I have already found a working plugin, but each plugin needs resources and this was such a simple solution. The first time it worked perfectly but after deactivating the standard pack nothing happens. The code is not working anymore.
Don’t you have any idea?
Greetings Kathrin
I have already written to the support but didn’t get any answer until now. The Social Media Buttons after the Post-Title still don’t work 🙁 For your information: I have disabled the standard-pack.
http://b96n967.myraidbox.de/2020/02/seo-google-search-console.html
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
I have cleared the cache and checked the site again, but there is no change: http://b96n967.myraidbox.de/newspaper
I think I don’t get the mobile version of the blog on my mobile phone at all instead there is only the desktop version, but I have enabled the mobile plugin. Why that is not working anymore? The only site that is shown in the mobile modus is the startsite, when I click on a post, it shows me the desktop version….
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
I’ve tried and tried, but it doesn’t work. The code is completely ignored when I want to prove it in the structured data tool from Google. But now the header shows //schemamarkup in the frontend: http://b96n967.myraidbox.de/2019/11/kuerbiskuchen-vom-blech-mit-oel-und-schokolade-kuerbis-kernoel.html
I need a working schema-markup.
🙁
Greetings Kathrin
-
This reply was modified 6 years by
Topfgartenwelt.
Dear Calin, I have changed the header from the standard-pack to a header from the cloud-template. Now I have added the Schema-Markup-Code to the header.php which I could access via Design –> Theme Editor and I also tried it via FTP like you described it in your last point. But it doesn’t work. How can I fix it? The standard-pack I have deactivated.
Thank you very much!
-
This reply was modified 6 years by
Topfgartenwelt.
On my mobile version of the site the logo appears in front of a white line and I don’t know how to get the white line black…
Greetings Kathrin
Perfect! Thank you very much!
