WordPress.org

Ready to get started?Download WordPress

Forums

Kvarken
Show Header on all pages? (2 posts)

  1. admin_rockylake
    Member
    Posted 11 months 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?

    Thanks

  2. Carolina Nymark
    Member
    Theme Author

    Posted 11 months ago #

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

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.