Archived topic
Custom text on blog page
7 replies · Started by Dominic on July 2, 2020
Hi,
I looked through several treads and it didn't solve my issue.
I want to add custom text above the first blog post and below the breadcrumb
https://www.smartdata.agency/blog/
I've added the header element with this configuration but it doesn't work:
https://www.screencast.com/t/Jwuavvdp8k4
https://www.screencast.com/t/uUk26w3wGp
https://www.screencast.com/t/4iZXHcAu
What am I doing wrong
PS i'm not a developer.
Thanks for the help
Hi there,
delete that Header Element - as you can only have 1 header element per page and they always display above all the content.
Instead use a Hook Element:
https://docs.generatepress.com/article/hooks-element-overview/
Did you use one of these for adding your Breadcrumb?
Hi David,
I actually tried to do that but it doesn't seem to work
https://www.screencast.com/t/cO81DxsMxZa3
https://www.screencast.com/t/8nLutreRvmLh
thank you for the help
Which hook did you use to add the breadcrumbs ?
Hi David,
sorry I overread that in you previous post.
Yes I used a hook for this.
Before_main_content, across the entire site
Use the same Hook in your custom text hook and set the priority to 20
ok works thank you :)
Glad to hear that