I'm working with a project using a Genesis theme. I've created a child theme and wanted to add a piece of HTML after the content but sadly the genesis_after_content
hook doesn't work.
I'm running Wordpres 5 on PHP 7 and I've tried increasing the priority to 99 but still doesn't work.
add_action( 'genesis_after_content', 'sample_after_content' );
function sample_after_content() {
echo '<h1>Hi there!</h1>';
}
and it doesn't do anything.