Special Offer: Buy All 48 Premium WordPress Themes for Just $74.99. Learn more

How to Display Page Header in Homepage

Page Header in Homepage

In general, the Page header is not displayed in Homepage. In case you want to display it in homepage, here are all of the necessary steps:

1. Install and Activate the WP Editor plugin: https://wordpress.org/plugins/wp-editor/

It is a very useful plugin which allows you to edit files inside all of the theme folders:

WP Editor Plugin

2. Login to Admin Panel -> Left Menu -> Appearance -> Theme Editor

3. Open front-page.php

Below:

<?php $displaySidebar = tishonator_display_sidebar_in_homepage(); ?>

Insert the following code:

<?php tishonator_show_page_header_section(); ?>

Then save changes.

4. Open content.php file.

Replace

<?php if ( !is_single() ) :

with

<?php if ( !is_single() && !is_front_page() ) :

Then save changes.

That’s all. Now, the page header will displayed in your website homepage.

 

About the Author

Tihomir Ivanov is a WordPress web developer, founder of tishonator.com, a fan of Linux and Open Source, a gym enthusiast, a vegan, a fan of minimalism, good movies and books :)

2 Responses to “How to Display Page Header in Homepage”

    • Hi Randy,

      1. Navigate to Admin Panel -> Left Menu -> Appearance -> Theme Editor

      2. Open footer.php

      3. Delete code between:

      <footer id=”footer-main”>

      and

      </footer><!– #footer-main –>

      4. Save changes

      Thanks,
      Tihomir
      Tishonator Team

Leave a Reply to Randy Bucao Cancel reply