WordPress.org

Ready to get started?Download WordPress

Forums

Custom Header For A Page (1 post)

  1. Sora57
    Member
    Posted 1 year ago #

    I made a template called "Shop" and did a custom header for it called "header-shop.php." I uploaded both files to...wherever...and put this code in at the beginning of the page template for "Shop":
    get_header(‘shop’); ?>

    My header showed up exactly as I wanted it to.

    I decided to get rid of that page and tried to make another page, call it Shop (which worked), give it the same URL and the same "Shop" template.

    My header is not showing up the way I want it to.

    What went wrong?

Topic Closed

This topic has been closed to new replies.

About this Topic