Site logo

Archived topic

Element and section

3 replies · Started by Thomas on January 9, 2019

Viewing posts 1–4 of 4

Hello, I'm new with GeneratePress.
I have activated Elements and created an element to have some coding in the hook before_content.

The hook is only for my start page. If I change the page to "use sections" the hook doesn't appear.

Any solution for this?

Regards Thomas

Hi there,

the before_content hook doesn't exist on Section pages. The before_main_content does.

o.k. thank you for the information.

You're welcome

This archived topic is closed to new replies.