Show Header on all pages? (2 posts)

  1. admin_rockylake
    Posted 2 years ago #

    Kvarken is my theme and I want to display the header on all of my pages. How can this be done?

    Also same theme can I remove a title from showing on the page?


  2. Carolina Nymark
    Theme Author

    Posted 2 years ago #

    to show the header on all pages you need to remove line 37
    if ( is_home() || is_front_page() ) {
    and line 56
    in the file header.php

    To remove the site title, go to the customizer and uncheck the "show text in header" option.

    To remove a title from a page format, it's best to you create a new template:

    Copy page.php and rename this copy to something distinctive.
    At the top of the new file, inside the php tag, add:

    Template Name: Your template name of choice

    Then find and remove this line:
    <h1 class="post-title"><?php the_title(); ?></h1>

    Then activate the template for the page that you don't want to display titles on.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.