WordPress.org

Ready to get started?Download WordPress

Forums

[Theme: TwentyTen] Adding default headers in a CHILD theme (2 posts)

  1. driesdokter
    Member
    Posted 11 months ago #

    Hi there,

    I created a child team for twenty ten, included the parents style.css & editor-style.css in the new css files and made some (minor) adjustments.

    I also created a images/headers directory in my child theme.
    Added headers with accompanying thumbnails (both of the same size as the parent's defaults). Now when I go into customisation and select Default, I still see the twenty ten default headers. Not my own...

    What am I doing wrong here?

    Dries

  2. driesdokter
    Member
    Posted 11 months ago #

    Oh, I see now. The default headers are hard coded in functions.php.
    And what I understand from the text here: http://codex.wordpress.org/Child_Themes I will need to write my own twentyten_setup()
    it is declared conditionally in the parent...

    Unfortunately the setup function uses %s (which is the path to the TEMPLATE dir) and I would like to use the theme dir.. is there a string for that too?

Reply

You must log in to post.

About this Topic