Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

HOWTO: Easy Header Fix


  #1  
Old Jun 8, 2011, 08:39 PM
LANtait's Avatar
LANtait
 
56 posts · Jan 2011
Cebu Island, Philippines ~ I live on a tropical island!
If you use this fix... Think about donating to Juggledad, I've spent time figuring this issue out and coming up with the fix, but Juggledad is here daily supplying support. Being in the Philippines and without paypal, I cannot send money. However, you sending Juggledad a donation will encourage him (and me) to continue to support Atahualpa. You can use the 'Donate to Juggledad' button on the donate page.
Thanks, LAN

The Atahualpa Easy Header Fix has many great features including...
  1. It protects custom header images, logo images and favicons during updates (even automatic updates).
  2. It is backwards compatible with all Atahualpa settings (it breaks no functionality).
  3. It works for Single Sites and Multi Site Sites and WP Multi Network Sites.
  4. It allows automatic updates of Atahualpa (from WordPress.org), which will not delete custom image files (Truly automatic if merged into the Atahualpa code).
  5. It includes uploading all per-site graphics, the headers, the the logo and the favicon (Even for MultiSite Installs!).
  6. All image files are uploaded via the WordPress media uploader (no FTP access is needed).
  7. It uses standard WordPress functions to find the upload directory.
  8. It allows Sort and Shuffle modes for Multi Site and Multi Network as well as Single site mode.
  9. It allows Normal Default Settings for Atahualpa to function in a normal way.
  10. It is SMALL (only 22KB download) and makes only nine very tiny changes in five easy to upload files ~ with full documentation.
All in all it is a very nice Fix, super easy to use, stable, and hopefully, it will be considered for permanent inclusion into the Atahualpa Core Code.

Installing the Easy Header Fix
This fix is very stable, powerful and much easier to use! In fact, easy as One, Two, Three!

Atahualpa Easy Header Fix Download Page

Atahualpa Easy Header Fix Complete Instructions
Note: These instructions will be posted below...

The website for this fix (including history and versions) is at:
http://alantait.net/atahualpa/
  #2  
Old Jun 8, 2011, 09:26 PM
LANtait's Avatar
LANtait
 
56 posts · Jan 2011
Cebu Island, Philippines ~ I live on a tropical island!
Installing the Easy Header Fix
This fix is very stable, powerful and much easier to use! In fact, easy as One, Two, Three!

Step 1 ~ Download
Step 2 ~ Unzip
  • You know how to do that!

Step 3 ~ Upload

Just upload these files into your Atahualpa Theme directory on your server via FTP. (This is the only time you need FTP. All uploads of image files will be handled by the Media Uploader inside of Wordpress.)

This Fix contains Six files.

One File is added, namely:
  • functions/bfa_ata_multisite.php

Four Files are modified, namely:
  • functions/bfa_rotating_header_images.php
  • functions/bfa_header_config.php
  • header.php
  • functions.php

One ReadMe File:
This file documents and explains the fix including nine tiny modification, and where they are.
  • README_EASY_HEADER_FIX.php
Note: The ReadMe file is for information only and does not need to be uploaded.

=====

If you use this fix... Think about donating to Juggledad, I've spent time figuring this issue out and coming up with the fix, but Juggledad is here daily supplying support. Being in the Philippines and without paypal, I cannot send money. However, you sending Juggledad a donation will encourage him (and me) to continue to support Atahualpa. You can use the 'Donate to Juggledad' button on the donate page.
Thanks, LAN
  #3  
Old Jun 8, 2011, 11:18 PM
LANtait's Avatar
LANtait
 
56 posts · Jan 2011
Cebu Island, Philippines ~ I live on a tropical island!
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.

From the About Page 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 the following: (But you must use what your WordPress gives you!)

FAVICONNote: 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
ROTATING HEADERS
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_"


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 <strong>rx.ico</strong> (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.


Building on Success!

Do you want to know the History of this Fix?
=====
If you use this fix... Think about donating to Juggledad, I've spent time figuring this issue out and coming up with the fix, but Juggledad is here daily supplying support. Being in the Philippines and without paypal, I cannot send money. However, you sending Juggledad a donation will encourage him (and me) to continue to support Atahualpa. You can use the 'Donate to Juggledad' button on the donate page.
Thanks, LAN
  #4  
Old Jun 8, 2011, 11:31 PM
LANtait's Avatar
LANtait
 
56 posts · Jan 2011
Cebu Island, Philippines ~ I live on a tropical island!
Although it is possible to use an external (not on your server) URL for the Favicon, I would not advise it.

For example:

If your website was:
http://example.com/
You could use a favicon at:
http://example.net/some/favicons/christmastree.ico
This is NOT possible in the case of the Headers and Logo.

If this helped... Think about donating to Juggledad. He is here daily supplying support. Sending Juggledad a donation will encourage him (and me) to continue to support Atahualpa. You can use the 'Donate to Juggledad' button on the donate page.
Thanks, LAN
  #5  
Old Jun 9, 2011, 06:58 PM
LANtait's Avatar
LANtait
 
56 posts · Jan 2011
Cebu Island, Philippines ~ I live on a tropical island!
BUGFIX and Easy Header Fix

Both Atahualpa 3.6.4 and 3.6.7 have a BUGFIX (one or more) that can cause problems for the Easy Header Fix.

Please Go Here and install all BUGFIX's for your version BEFORE installing the Easy Header Fix.

Look at the sticky topics at the top, you will notice Threads that begin something like "BUGFIX 364-09:"

That means it is the BUGFIX for Atahualpa Version 3.6.4 and it is the Ninth (-09) BUGFIX for that version (meaning there are eight BugFixes before that one for Version 3.6.4).

If you would like to know which BUGFIX's conflict with The Easy Header Fix (Which BUGFIX's you should not apply AFTER loading the Easy Header Fix) those are documented on the DOWNLOAD PAGE.

It is always safe to do all BUGFIX's and then do the Easy Header Fix last, as we apply all BUGFIX's to the download version.
  #6  
Old Nov 29, 2011, 03:18 AM
AndreyYe
 
1 posts · Nov 2011
Thank you for your job! This is very useful fix and shurely should be included in branch. I'm going to test this.
But will it work with newer versions of Atahualpa? I have 3.7.1 now

Bookmarks

Tags
child theme, favicon, header image, logos, multisite

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HOW TO: MultiSite or WP Multi Network: Easy Header Images LANtait Header configuration & styling 26 Jun 9, 2011 12:15 AM
HOWTO: create fading header images juggledad Header configuration & styling 44 Mar 1, 2011 02:36 PM
HOWTO: put your image in the header juggledad Header 71 Jan 12, 2011 02:42 PM
Is it easy to place a new widget in the header and footer for a novice jkfly4 Sidebars & Widgets 1 Jan 30, 2010 02:09 PM
[SOLVED] An easy way to have a logo over left sidebar area of header? mgclark Header configuration & styling 11 Jul 29, 2009 06:36 AM


All times are GMT -6. The time now is 11:04 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.