-
AuthorPosts
-
August 3, 2022 at 12:58 pm #1360480
Hi, this is probably a basic question but on all my pages I have a page title and the content of the page. In Enfold I can not get the page title to appear?
I know the page title/breadcrumb bar but do not want to display the page title there since I do not think it is visible enough there. I want the page title to appear as the first thing on the page itself (like it was standard in the old days).
Thanks,
Peter
August 3, 2022 at 1:56 pm #1360494Hi Peter,
Did you check your settings in the Layout menu on each page? Look for the Title Bar Settings option.
Best regards,
RikardAugust 3, 2022 at 6:34 pm #1360523Hi Rikard,
Thanks for your reply. Yes, I am able to get the page title to show up in the “banner” just below the header, but I would like to show only the breadcrumbs in that banner and display the page title at the very beginning of the page content – like on posts.Best regards,
Peter- This reply was modified 2 years, 3 months ago by pfk-kbh.
August 3, 2022 at 7:02 pm #1360528do you like to insert it manually with a shortcode?
this to child-theme functions.php :function insert_page_title_shortcode() { $page_title = "<h1 class='main-title'>". get_the_title() ."</h1>"; return $page_title; } add_shortcode( 'page_title', 'insert_page_title_shortcode' );
and use as :
[page_title]
change h1 to whatever you like.for the automatic insertion we have to know where it should be placed.
There will be jQuery methods or using some hooks – or you can edit the page templates and have child-theme versions of them
There is a problem with pages that then needs to be solved: how to deal with transparent headers – how to deal with fixed header etc. ppAugust 3, 2022 at 8:17 pm #1360537Hi Peter,
Maybe @guenni007 solution would be something that you could use? If not, then you can always place the page title manually into your layout using a Special Heading element for example.
Best regards,
RikardAugust 4, 2022 at 8:01 am #1360576I don’t know why the breadcrumb feature that only shows the title is not practical for you – you can make it whatever you want – and for the pages that have a Transparent Header, you manually set the Title via shortcode to your first element in main.
August 4, 2022 at 10:39 am #1360589 -
AuthorPosts
- You must be logged in to reply to this topic.