Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1319476

    Hi,
    I have selected Logo and Menu in left Sidebar for my layout.
    The problem is that titles are not showing in pages of my websites. I would like to show titles in every pages :)
    Can you tell me how I can do that ?

    Thank you for your help !
    Regards

    #1319822

    Hey Obeatone,

    Thank you for the inquiry.

    You can enable the title and breadcrumbs in the Enfold > Header > Header Layout > Header Title and Breadcrumbs settings.

    Best regards,
    Ismael

    #1319853

    Hi,
    THank you for replying.
    The problem is that “Options are note available” because I choose “Logo and Menu in left Sidebar” for my layout like I said in my previous post ;)
    So I can’t do what you said ;)

    Thank you for your help !
    Regards

    #1320237

    Any idea ? :)

    #1320274

    Hi,

    Please add following code to bottom of Functions.php file of your child theme ( https://kriesi.at/documentation/enfold/child-theme/ )

    function av_title_sc( ){
    	$page_title = "<h1 class='page-title'>". get_the_title() ."</h1>"; 
    	return $page_title;
    }
    add_shortcode( 'av_page_title', 'av_title_sc' );

    and insert [av_page_title] shortcode into your content where you would like to display page title :)

    Best regards,
    Yigit

    #1320358

    Hmm, it doesn’t work properly.
    I have this after entering [av_page_title] in a content page > <H1 CLASS=’PAGE-TITLE’>WORKS</H1> html is not interpreted .
    And when i entered it in a php file like single.php it doesn’t work

    Do you have an automatic solution ?
    Enter [av_page_title] is not simple…
    Thank you for helping !

    • This reply was modified 3 years, 1 month ago by Obeatone.
    #1320476

    Hi,

    Thank you for the update.

    We could also use this filter in the functions.php file to re-enable the Enfold > Header > Header Layout > Header Title and Breadcrumbs even when the header is set to the left or right.

    
    function avf_header_setting_filter_mod($header) {
       $header['header_title_bar'] = 'title_bar';
       return $header;
    }
    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    

    Let us know if that helps.

    Best regards,
    Ismael

    #1321169

    It works fine !
    Thank you for helping :)
    Regards

    #1321255

    Hi,

    Glad Ismael could help!
    Let us know if you have any other questions and enjoy the rest of your day :)

    Best regards,
    Yigit

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Logo and menu in left Side bar / Titles not showing on pages’ is closed to new replies.