Support for Custom Headers In The Atahualpa Theme

Thanks to:  http://alantait.net/2011/06/09/atahualpa-easy-header-fix/  For creating and providing this fix for multi site users:

LAN Tait

Configuring the Easy Header Fix
STEP 1
Upload Image Files to any Page or Post

Note:I suggest you use the ABOUT page! This makes them easy to find and change later.  However you can use any post,page or even go straight to the media uploader. The rest of this will assume we are using the About page to anchor our site images to.

NOTE:It is possible to upload directly from the media uploader.  However,this often produces an upload path that is either /files/ or /wp-content/uploads/ and these paths are not acceptable at this time.  Please upload from within a post or page editor so the header files will be attached to that page or post automatically.

From the About Page (edit screen) Click Upload/Image >>Add an Image

Upload all Headers,Logos and your Favicon in the same place makes it easy to maintain. The Header Files and the Logo File MUST be in the same location.

TAKE NOTE of the “File URL” and copy it!

For this example case I will assume:(But you must use what your WordPress gives you!)
FAVICON

* http://example.com/files/2011/02/rx.ico

Note:If you have problems uploading .ico type files,login as Super Admin,navigate to the “Super Admin” menu “Options” >>Upload Settings >>Upload file types >>and add “ico” to what is already there.

Example:jpg jpeg png gif ico
LOGO

* http://example.com/files/2011/02/Rx_symbol.png

ROTATING HEADERS

* http://example.com/files/2011/02/header_be_4.jpg
* http://example.com/files/2011/02/header_nice_1.jpg
* http://example.com/files/2011/02/header_good_2.jpg

Note:Important Rules For Header File Names…

1) Header files MUST begin with “header_”
2) Header files MUST NOT contain a dash (-)
3) Header files MUST NOT contain extra dots (.)

Note:The following are examples of WRONG file names…

header_be-4.jpg ~ Contains a Dash
header_nice.1.jpg ~ Contains extra Dot
header2good_2.jpg ~ Does NOT start with “header_“
If you use a direct media upload and not a post or page edit screen you may encounter this problem…

Proper Upload Examples:(folders / directories to the right of /files/ or /uploads/)

http://example.com/files/2011/02/header_1.jpg

http://example.com/wp-content/uploads/2011/02/header_1.jpg

Improper Upload Examples:(no folders / directories to the right of /files/ or /uploads/)

http://example.com/files/header_1.jpg

http://example.com/wp-content/uploads/header_1.jpg

Note:If you have no directory or folder to the right of /files/ or /uploads/ it is because you were not uploading from within the edit screen of a post or page.
STEP 2
Rotating Header Files and Logo Examples

Insert into:

Atahualpa Theme Options >>

Style &edit HEADER AREA >>

Show Logo Image?
1) Custom Headers and Custom Logo

http://example.com/files/2011/02/Rx_symbol.png

In this case we have uploaded both a custom logo and one or more custom headers in the same folder.

From the Upload page we copied this…

http://example.com/files/2011/02/Rx_symbol.png

The part in blue tells the theme where to find the header files.
2) Custom Headers and DEFAULT Logo

/files/2011/02/logo.png

In this case we want to use our custom headers but the default logo,logo.png

One of our upload headers was…

http://example.com/files/2011/02/header_be_4.jpg

We use the part after the domain name and before the file name and add the default logo from the theme as shown in blue and brown above.

3) Custom Headers and NO Logo

/files/2011/02/

In this case we want to use one or more custom headers,but we want NO logo at all. Like in step two…

One of our upload headers was…

http://example.com/files/2011/02/header_be_4.jpg

We use the part after the domain name and before the file name as shown in blue above.
4) DEFAULT Headers and Custom Logo

~http://example.com/files/2011/02/Rx_symbol.png

In this case we plan to use the default headers from the theme,but we want to use a Custom Logo.

This step is identical to step one,except we add a tilde “~” to the beginning to tell the theme to use the default headers instead.
5) DEFAULT Headers and DEFAULT Logo

logo.png

In this case we want to use the default headers and the default logo,just put in the default filename,logo.png

This is the standard startup for Atahualpa when it is first loaded.
6) DEFAULT Headers and NO Logo

(leave blank)

In this case we just want to configure our site to get rid of the default logo,and to use the default headers. Just delete everything in the box and leave it blank.
STEP 3
FAVICON Examples

Insert into:

Atahualpa Theme Options >>

Overall Style &Config. >>

Add a FAVICON
1) Custom FAVICON

http://example.com/files/2011/02/rx.ico

In this case we have uploaded both a custom Favicon called rx.ico (or anything you want).

From the Upload page we copied this…

http://example.com/files/2011/02/rx.ico

This Favicon may actually be anywhere on the Internet that you have permission to use. So the Favicon does not have to be in the same location as the Logo and Headers.
2) DEFAULT FAVICON

new-favicon.ico

In this cause we do NOT want to use a custom Favicon so we just leave it with the default value. We may also wish to choose one of the other file names included in the Atahualpa Theme and insert that file name here. This is the default setting.