I had success with adding the action to ‘ava_before_footer’ instead of ‘wp_footer’, as in the example above. Then no edit to footer.php is needed.
I solved this in a different way that doesn’t require you to then go and edit every page to insert the shortcode, as suggested above. To add the page title as an <h1> tag above the body copy, I added this to functions.php of the Enfold child theme:
function my_the_content_filter($content) {
if (is_page() && !is_front_page())
{
$content = ‘<h1>’.get_the_title().'</h1>’.$content;
}
return $content;
}
add_filter( ‘the_content’, ‘my_the_content_filter’ );
This intercepts all attempts at producing the page content, for all pages other than the home page, and inserts the page title before the content.
Then to hide the page title from the page banner area, I added this CSS snippet on the Enfold Child / General Styling tab:
/* Hide page title in banner area. */
h1.main-title {
display: none;
}