Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   Customised header image URL? (http://forum.bytesforall.com/showthread.php?t=1092)

lctkw Apr 4, 2009 12:00 AM

Customised header image URL?
 
I'm not sure if this is already doable, but I'd just like to ask check about this.

While updating the theme (by uploading a new copy in a new directory) I'd realised that I needed to manually move/copy the old header images over as well. Is it possible to specify a URL (outside the theme directory, perhaps even on an external URL) for this purpose? It'll make future upgrading easier, and will probably help with Wordpress MU installations where users can't upload their own header images.

Same goes with favicons, actually - is this actually possible?

Flynn Apr 5, 2009 01:50 PM

You could edit bfa_rotating_header_images.php lines 29-30

PHP Code:

    $imgpath TEMPLATEPATH '/images/header/';
    
$imgdir get_bloginfo('template_directory') . '/images/header/'

to, i.e.

PHP Code:

    $imgpath '/full/path/to/domain.com/_public_html/images/';
    
$imgdir 'http://www.domain.com/images/'


lctkw Apr 6, 2009 04:09 AM

Ok. I see you're suggesting editing a PHP file... Is it possible to make this a customisable option in a future version of the theme, though? Reasons as mentioned above - to streamline the process of installing a newer version of the theme (in a different directory), as well as for Wordpress MU non-admins.

Thanks!


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

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