Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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

    #1360494

    Hi Peter,

    Did you check your settings in the Layout menu on each page? Look for the Title Bar Settings option.

    Best regards,
    Rikard

    #1360523

    Hi 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.
    #1360528

    do 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. pp

    #1360537

    Hi 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,
    Rikard

    #1360576

    I 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.

    #1360589

    Hi,

    Thanks for helping out @guenni007 :-)

    Best regards,
    Rikard

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