The code needed to customize location of header images
I have to agree with a lot of the arguments put forth by noel.odesk in the now closed thread Why I Hate Upgrading Atahualpa.
Now, php is not my native language, but from what I can see, these are the code changes needed to introduce a theme option for specifying the location of the header image files. This will allow the header images to be put in a directory that survives a theme upgrade. Incorporating these few lines of code into an otherwise excellent theme would make life a little bit easier for quite a few of the ATA users out there. File: functions/bfa_theme_options.php Code:
(...) Code:
Code:
(...) |
I spoke to Flynn and he thinks this will fly. I tested it and came up with a nice feature. If you use
'../../dirname' then you can put 'dirname' in the wp-contents folder and never worry that it might get removed during an update. I'll be putting the code together along with the two 3.7.10 patches and giving it to Flynn for submission to WordPress. Nice work, Ive been wanting to put something like this in pointing outside the theme directory, but by putting it in teh theme directory and using the '../../dirname' you can actually have the image directory outside the theme folder, the best of both worlds!!! |
Quote:
Quote:
|
All times are GMT -6. The time now is 02:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.