How do I activate the H1 page and portfolio titles without manually adding to the content? When it’s on this side nav layout?
Here’s the message on each page
“These settings are only available for layouts with a main menu placed at the top – Change layout”
Hey!
You can try adding following code to Functions.php file in Appearance > Editor
function av_title_sc( ){
echo "<h1 class='page-title'>". get_the_title() ."</h1>";
}
add_shortcode( 'av_page_title', 'av_title_sc' );
and add following shortcode to your page [av_page_title] to display the title
Cheers!
Yigit
To do this I switched to Default Editor, and when I switched back to Advanced and the short code disappears. Besides, this means I would still have to add something to every post type. Please specify what files to add the short code to to enable H1 on pages and Portfolio types.
Can you help with this please?
Hi,
you can do this: http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/ and then put this:
[av_page_title]
into the new created field when editing a page.
Best regards,
Andy