[ad_1]
(@yingscarlett)
Hi there,
It would be easy to achieve if you have GP Premium, you just need to use a hook element.
If you do not have GP Premium, it will require some coding.
Try this PHP code:
add_action('generate_after_header', 'announcement');
function announcement() {
echo "add the announcement html here";
}
Thank you!
What do you mean by use a hook element?
Thanks, found the solution here. 🙂
https://docs.generatepress.com/article/hooks-element-overview/