page-title-bar on front page

Home Forums Esteem Free page-title-bar on front page

This topic contains 3 replies, has 2 voices, and was last updated by  Bipin Singh 3 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #87321

    anders
    Participant

    Hello

    I’ve set up my ThemeGrill with a static homepage. I would like the page-title-bar to appear on the front page, as well as all other pages. How do I do that?

    Thanks for an awesome work!

    Anders, Denmark

    #89218

    Bipin Singh
    Moderator

    Hi,

    Thank you for appreciation.
    Please create the child theme and copy the header.php from parent theme to child theme and find the following code:

    if( !( is_front_page()) ) { ?>
    <section class="page-title-bar clearfix">
    <div class="inner-wrap">
    <?php if( '' != esteem_header_title() ) { ?>
    <div class="page-title-wrap"><h1><?php echo esteem_header_title(); ?></h1></div>
    <?php } ?>
    <?php if( function_exists( 'esteem_breadcrumb' ) ) { esteem_breadcrumb(); } ?>
    </div>
    </section>
    <?php } ?>

    Replace the above code with the following:

    ?>
    <section class="page-title-bar clearfix">
    <div class="inner-wrap">
    <?php if( '' != esteem_header_title() ) { ?>
    <div class="page-title-wrap"><h1><?php echo esteem_header_title(); ?></h1></div>
    <?php } ?>
    <?php if( function_exists( 'esteem_breadcrumb' ) ) { esteem_breadcrumb(); } ?>
    </div>
    </section>
    

    You can refer the following tutorial on creating the child theme:
    https://themegrill.com/tutorial-on-creating-wordpress-child-theme/

    Hope this helps.
    If you like our theme you can help us by rating our theme here https://wordpress.org/support/view/theme-reviews/esteem. We would really appreciate it. Thanks.

    #89470

    anders
    Participant

    Thanks a lot for your time, that’s what I call a great service!

    And by the way: your coding did the work just the way I wanted it!

    Thanks again :o)

    #91339

    Bipin Singh
    Moderator

    Hi,

    It’s pleasant to hear the code works for you.
    Please feel free ask again if there are any further query regarding our theme.
    Also, if you like our theme and support then please help us by rating our theme in WordPress repo.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.