• Resolved rhworship

    (@rhworship)


    I know this has been dealt with before, but I need someone that can speak English.

    I only want to have my header on the first page.

    Can someone IN ENGLISH guide me through that.

    I don’t understand the code stuff.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Unfortunately it needs a little code knowledge. The easiest way to do this is to create a new template page. So, take your index.php file and rename it, something like other.php. Then open that file and at the top you should see <?php get_header(); ?>

    Replace that with:

    <?php
    /**
    *Template Name: Other
    **/
    ?>

    That will remove the header completely and create a new template. Then on your pages that you don’t want the header go to Quick Edit and under the Template drop-down menu, select Other.

    Stop the bus. Just the reiterate, when I said rename the index.php file I should add COPY the index.php and rename that copied file. You still need the index.php file.

    Can you clarify, exactly, what you mean by “header”?

    Good point Chip. Removing the header would also disable the CSS file, etc.

    Thread Starter rhworship

    (@rhworship)

    By “header” I mean the large image banner at the top of the page

    And what Theme are you using?

    Thread Starter rhworship

    (@rhworship)

    I figured it out. Thank you.

    Care to share, in case others might need the answer the the same, or to a similar, problem?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Remove Header from other pages’ is closed to new replies.