Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #729636

    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”

    #729645

    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

    • This reply was modified 7 years, 10 months ago by Yigit.
    #729662

    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.

    #730007

    Can you help with this please?

    #730319

    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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.