- This topic has 19 replies, 3 voices, and was last updated 4 years, 11 months ago by
Ying.
-
AuthorPosts
-
April 11, 2021 at 3:24 am #1729569
Atefan
Hi,
I just see at the given website, that I have 2 H1 Tags in this category.
When i remove the hook what I have there, i still get 1.
looking at the source code, without the hook, i see this:
</header> <div id="page" class="site grid-container container hfeed"> <div id="content" class="site-content"> <div id="primary" class="content-area"> <main id="main" class="site-main"> <div class="generate-columns-container "> <header class="page-header"> <h1 class="page-title"> Screen Printing Equipment </h1> </header>2 header closing?
How could I change this, funny is on a other category I don’t have this problem.
Thanks
April 11, 2021 at 10:12 am #1730126Ying
StaffCustomer SupportHi Atefan,
I believe one is using Header element, and the other is using Block element, is it?
Header element is using dynamic content (page title in this case) while block element is not, that’s why the default page title is still there, it’s just been hidden by
display: none;I would recommend updating to GP Premium 2.0, with Generateblocks the block element has the dynamic content feature. Here’s an article with a demo video on how to create a page hero using the new block element:
https://docs.generatepress.com/article/block-element-page-hero/Let me know if that helps 🙂
April 19, 2021 at 12:47 am #1739780Atefan
Hi Ying,
i have no Element for this page.
and
GP Premium 2.0, please do not use it on production websites.And funny enough, i have only 2 pages with this problem.
What can i do?
Regards
April 19, 2021 at 6:06 am #1740024David
StaffCustomer SupportHi there,
the page with 2 x H1’s has a Block Element that is hooked in before the main content. Its whats displaying the content above the Post List.
Then theres the archive page title which is being hidden with CSS.
As you’re using either a Block Elementor or a Page Header on your archives – you can remove the Theme’s H1 by adding this PHP Snippet:add_action( 'wp', function() { remove_action( 'generate_archive_title', 'generate_archive_title' ); } );April 19, 2021 at 6:41 am #1740064Atefan
Dear David,
These are normal posts, no archive, and how it gets there?
and from where the hook should come, I checked all, but no elements on this post.Regards
April 19, 2021 at 9:59 am #1740586Ying
StaffCustomer SupportCategory pages are archive pages.
Any chance you can provide credentials to the site? We could have a look at the backend.
Let us know 🙂
April 19, 2021 at 11:43 am #1740738Atefan
sure, sorry, I believed I post them.
April 19, 2021 at 12:30 pm #1740783Ying
StaffCustomer SupportI mean the admin access to the dashboard, need to take a look at the backend, thanks 🙂
April 19, 2021 at 10:40 pm #1741126Atefan
Here you are.
ThanksApril 20, 2021 at 12:58 am #1741240David
StaffCustomer SupportWe need the URL for your login page as it looks like the default ones have been restricted.
April 20, 2021 at 1:00 am #1741244Atefan
check below, please David
April 20, 2021 at 1:50 am #1741292David
StaffCustomer SupportWell that has got me stumped.
The/equipment/URL which has to the two H1’s – is a Category Archive. The category slug is:equipment. But when i check the backend of your site in Posts > Categories – there is NO categories registered… so how is the Equipment page being generated ?April 20, 2021 at 3:27 am #1741369Atefan
David I guess you are at the wrong WordPress URL.
and how you get there???
April 20, 2021 at 5:25 am #1741476David
StaffCustomer SupportI am using the login ID you provided – if i login again with your new links i still arrive at the same place.
April 20, 2021 at 5:29 am #1741482Atefan
my feeling is, you are at domain 1, but all info i have given you are for domain 2.
please check and i got the msg password changed on domain2.
so you should be in domain 2 -
AuthorPosts
- You must be logged in to reply to this topic.