WordPress.org

Ready to get started?Download WordPress

Forums

Custom Header template for Twenty Eleven (3 posts)

  1. ChadAustin
    Member
    Posted 1 year ago #

    Hi Gurus,

    I understand child themes and have already created one for this purpose, just fyi.

    I've also created a custom template from page.php... we'll call it "customtemplate.php" for this purpose.

    Does anyone know of a tutorial that can explain how to create and call a custom header.php from my "customtemplate.php" that i could modify, much like the widget "Text"?

    Thank in advance.
    Chad

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    replace get_header(); in your page template for instance with get_header('custom');
    and create a header-custom.php header template file.
    http://codex.wordpress.org/Function_Reference/get_header

    you could then add a custom widget area into that header template.

  3. ChadAustin
    Member
    Posted 1 year ago #

    Thanks so much alchymyth! That worked!

Topic Closed

This topic has been closed to new replies.

About this Topic