WordPress.org

Ready to get started?Download WordPress

Forums

changing header image in twentyTen (3 posts)

  1. catwingz
    Member
    Posted 3 years ago #

    I want to substitute my own image for the header but can't locate the place in the code that is calling the current path.jpg image. The obvious files are header.php and the main css. Neither one mentions the specific file name. I could simply rename my new header after path.jpg, but that's not good practice. Can someone point me in the right direction? Thanks

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    the default header image name is set in functions.php:

    define( 'HEADER_IMAGE', '%s/images/headers/path.jpg' );

    there is also the option under 'appearance' 'header' to upload and set your own header.

    be aware that twenty ten as the default theme of wp3 will be overwritten with your next upgrade of your wordpress version.

  3. catwingz
    Member
    Posted 3 years ago #

    Thanks, that was what I needed. I will plan to make a child theme if I decide to stick with twenty ten.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags