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 » New Versions, & Updating »

child theme problem

Old May 5, 2012, 04:26 PM
2 posts · Jan 2012
I am trying to use a child theme to avoid images (header, logo, favicon) being over-written every time the theme is updated.

I created a folder 'atahualpa-child' in wp-content/themes and within that created style.css containing:

Theme Name: atahualpa-child
Template: atahualpa

@import url("../atahualpa/style.css");

I then created an 'images' folder within 'atahualpa-child', and 'favicon' and 'header' folders within 'images'. I uploaded the header image to 'header', favicon to 'favicon' and logo to 'images'.

I activated the child theme and all appeared well.

However, when I updated Atahualpa the custom images were not displayed on the site.

I would like to use Atahualpa to provide a flexible Web site for a non-technical user, and its customizability seems to fit the bill other than the images being lost.

Many thanks in advance for any advice.
Old May 5, 2012, 06:35 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
One way I get around having to use a child theme and the overwritten images issue is to use a plugin like Cimy header image rotator for the header images.

For the favicon and logo you can put the images in a folder that won't get overwritten and then use ../ each time you want to go back a folder. For instance I created a folder in the themes folder called ataimages and put the logo there then in the "Show logo image?" box I put
HTML Code:
You could do the same for the favicon.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old May 8, 2012, 12:38 AM
Knut Sparhell
34 posts · Jun 2010
Fredrikstad, Norway
When using a child theme, only the style.css will be drawn from the child theme exclusively. For template files, the child theme will be searched first, then the parent, as duplicates in the parent will be ignored. For all other files this is (parent) theme dependent, as this is no rules. A parent them may be child theme aware, and point to the "stylesheet directory" and below. This will be your child theme folder, if a child theme is active. Atahualpa does not support this, as I can see.

In upcoming WordPress 3.4 you may select a header image from the media library directly. If Atahualpa will support this core function it would be great. There is also a suggestion to have icon upload (favicon) in core, probably in 3.5.

Many themes, Twenty Eleven among them, does not get their custom images overwritten during an update because they allow using a set of images uploaded to the media library.
Old May 16, 2012, 01:55 PM
1 posts · Oct 2011
I do the same, and actually link all the way into my media library (you *can* do that)...

Along the lines of setting logo (or favicon) to:
For the header images... Create another folder somewhere accessible to the webserver and convert /wp-content/themes/atahualpa/images/header/ to a symlink... e.g.:
ln -s /var/www/myheaderimages /var/www/wp-content/themes/atahualpa/images/header
You'll still have to "relink" the directory every time, but it's still better than a poke in the eye with a sharp stick.


child theme, custom images, favicon, header image, logo

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Child theme or not? gsa1 New Versions, & Updating 17 Jan 6, 2013 04:03 PM
Child theme compatibilty Faffe New Versions, & Updating 1 Dec 18, 2011 03:23 PM
Is it possible to create a child theme ? thekjub9 New Versions, & Updating 6 Jun 7, 2011 02:56 AM
ATA 3.5.3 Different Behavior In Child Theme from Non-Child Theme royhuggins Page & Category Menu Bars 7 Dec 4, 2010 07:26 PM

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

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