Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating » Old Version fixes and change logs »

Atahualpa 3.7.11 - how to save your header images across updates


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 22, 2013, 07:50 PM
juggledad's Avatar
juggledad
 
22,241 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
NOTE: some users have reported that using the '../../' redirection triggers a security error eror on their hosts. This has been changed in 3.7.12

With the release of version 3.7.11 there is a new option in the 'Header Image' section of the theme options. This new option 'Header Images Directory' defines where your header images will be stored. It defaults to the themes 'images/header' folder.

You can point to a folder in your 'wp-content' folder by prefixing the folder name with some updirectory pointers. For example: say you add a folder to the 'wp-contents' folder called 'header-images'. to point to that folder you would enter '../../header-images' and you would now get your images from there.

The way it works is that each '../' moves you up a directory. you start in the 'atahualpa' folder so you are here:
HTML Code:
wp-root/wp-contents/themes/atahualpa
the first '../' moves you to the 'themes folder
HTML Code:
wp-root/wp-contents/themes
the second '../' moves you to the 'wp-content' folder
HTML Code:
wp-root/wp-contents
and now you can name a folder that is in the wp-content folder ie 'header-images' so you are at
HTML Code:
wp-root/wp-contents/header-images
and that is where the images will be grabbed from.

Since this is outside of the theme folder, an update of the theme code will not tougch your images and since the path to the folder is a theme option, it will remain across updates.

MULTISITE since each multisite has it's own set of tables, each site can point to a diferent folder, so you could have
../../site01-hdr-images
../../site02-hdr-images
../../site03-hdr-images
etc, etc

For Logo's and Favicons see the thread How to: save your LOGO/FAVICON images over an upgrades in the 'FAQ - Atahualpa' forum
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Apr 18, 2013 at 01:29 PM.
  #2  
Old Feb 26, 2013, 09:03 AM
yeahwow
 
31 posts · May 2011
Hi Juggledad,

Great new addition that I know a lot of people will like. Updating Atahualpa became a lot easier with the new save-your-headers-across-updates function! Thanks!

Favicons have the same issue as headers. They get lost in updates if you are not careful. Wouldn't it be nice to have the same solution for favicons too? Is this something that can be added to the next release?
  #3  
Old Feb 26, 2013, 09:24 AM
juggledad's Avatar
juggledad
 
22,241 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
take a look at the 'FAQ - Atahualpa' forum in the header section. There is a solution for Logo and Favicon there.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Feb 26, 2013, 09:47 AM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Yes, this is great! I second the request for the same persistence for our custom favicons.
  #5  
Old Mar 1, 2013, 06:20 AM
vrielance
 
12 posts · Jan 2013
I tried this and now my whole site is gone!!! Even after changing it back to the original setting, my site is completely gone. http://ayurveda-hengelo.com

Please help
  #6  
Old Mar 1, 2013, 06:27 AM
vrielance
 
12 posts · Jan 2013
Luckily I got my site back...

I created a subdirectory header_images in my .../wp-content

My original images are in .../wp-content/themes/atahualpa/images/header

So this means that I have to enter ../../../../header_images into ATA Header Images Directory?

Thanks

Marco
  #7  
Old Mar 1, 2013, 08:30 AM
juggledad's Avatar
juggledad
 
22,241 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
No, you would use ../../header_images

The reason is the option is starting in the Atahualpa folder - ie
HTML Code:
yourdomain.com/wp-content/themes/atahualpa
The default for the option is 'images/header' - this points at
HTML Code:
yourdomain.com/wp-content/themes/atahualpa/images/header
but you only need to move up two levels to get to wp-content
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Mar 1, 2013, 02:55 PM
vrielance
 
12 posts · Jan 2013
ok thanks got it
  #9  
Old Mar 1, 2013, 03:29 PM
vrielance
 
12 posts · Jan 2013
oops spoke too soon.... I changed the file location and the headers were gone... I changed it back to the original state and still all white... And suddenly my header is clickable, it wasn't before. Is this a java issue?
  #10  
Old Mar 1, 2013, 03:32 PM
vrielance
 
12 posts · Jan 2013
and it get's weirder: when I click on the header the image changes to the next, but there's one image blank (the most important one)
  #11  
Old Mar 1, 2013, 03:33 PM
juggledad's Avatar
juggledad
 
22,241 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Are you moving the atahualpa/images/header folder? If so you should not. Create a new folder
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #12  
Old Mar 1, 2013, 03:41 PM
vrielance
 
12 posts · Jan 2013
no no, I only created the new folder, copied the images via ftp, set the option in ata to point like this: ../../header_images
  #13  
Old Mar 1, 2013, 04:04 PM
juggledad's Avatar
juggledad
 
22,241 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
does the folder have the same permissions as the header folder?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Mar 1, 2013, 04:13 PM
vrielance
 
12 posts · Jan 2013
yes, and I changed everything back to the original state and problem remains. I can toggle clickable header now, but images do not rotate and one image dissapeared from header area. Do you see the same? Maybe I should just empty cache and restart?
  #15  
Old Mar 1, 2013, 05:50 PM
vrielance
 
12 posts · Jan 2013
I was about to give up the fight for today, when I decided to take one shot in the dark and restart in Windows (I mostly work in Linux), and recopy all the images to the specified folders. To my amazement it worked immediately!

Don't know how, but I solved it. Thanks for your efforts juggledad

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can updates avoid deleting images folder? randall New Versions, & Updating 2 Jan 12, 2011 05:12 AM
Atahualpa 3.4.6 problems - changes won't save littlebonesmedia New Versions, & Updating 1 May 24, 2010 05:17 PM
Cannot save any changes in Atahualpa theme options ssoszka Atahualpa 3 Wordpress theme 1 Apr 28, 2009 03:30 PM


All times are GMT -6. The time now is 05:20 AM.


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