Site logo

Archived topic

how can I add to H1 in my page hero?

19 replies · Started by eran on October 17, 2022

Viewing posts 16–20 of 20

I already told you.
If i do that in my query loop there's no dynamic headline because I need to delete the headline from my page.
And paste the code in the header block.
Please read the previous messages.

I think that's why Ying was confused. Changing the way the title is outputted in the front page shouldn't affect your Query Loop.

I read the previous messages. I was asking for login credentials so I can view why it's affecting the Query loop.

Hope you understand.

If I have the page title + in the header block this code "<h1>Best Streaming Equipment<br> for Twitch Streamers</h1>" then I have 2 h1 on my page.

Im not home so I cant give you login credentials.

It affect the query loop because I delete the h1 from my page title so I have only 1 h1 on my page.
And because there's no page title in the page, the dynamic headline from the query loop doesn't work.

I see. Don't delete the Page Title from the Page itself. In your Header Element, add this - <h1>Best Streaming Equipment<br> for Twitch Streamers</h1> and keep the Page title in the page editor.

Then, try to disable the Content Title in the Page Settings. Example: https://share.getcloudapp.com/nOub4xx9

Alternatively, you can use a Block Element - Page Hero to alleviate this sort of issue. Reference: https://docs.generatepress.com/article/block-element-page-hero/

This archived topic is closed to new replies.