-
AuthorPosts
-
September 2, 2021 at 11:30 am #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 !
RegardsSeptember 6, 2021 at 4:31 am #1319822Hey 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,
IsmaelSeptember 6, 2021 at 10:23 am #1319853Hi,
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 !
RegardsSeptember 9, 2021 at 10:51 am #1320237Any idea ? :)
September 9, 2021 at 3:49 pm #1320274Hi,
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,
YigitSeptember 10, 2021 at 10:18 am #1320358Hmm, 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 workDo you have an automatic solution ?
Enter [av_page_title] is not simple…
Thank you for helping !- This reply was modified 3 years, 3 months ago by Obeatone.
September 11, 2021 at 2:23 am #1320476Hi,
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,
IsmaelSeptember 16, 2021 at 10:12 am #1321169It works fine !
Thank you for helping :)
RegardsSeptember 16, 2021 at 4:26 pm #1321255 -
AuthorPosts
- The topic ‘Logo and menu in left Side bar / Titles not showing on pages’ is closed to new replies.