Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

[SOLVED] Need header images to rotate in specified order


  #1  
Old Jun 14, 2010, 10:24 AM
bretsallee
 
2 posts · Jun 2010
Hello all,

I know this thread subject has been here before but I need some help with a simple fix. At http://tecorestoration.com I'm trying to get my headers to rotate in order. I have them named with a 1,2,3,4 prefix so can't understand whats happening.

Any help would be appreciated. Great theme though.
  #2  
Old Jun 14, 2010, 10:45 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
please try this
1) change your file names so there are no blanks - ie change '1 House burning.jpg' to '1-House-burning.jpg'
see if that fixes it, it it doesn't then edit bfa_rotating_header_images.php and find line 37 which shoud be
HTML Code:
		closedir($dh);
and change it to
HTML Code:
		sort($files);
		closedir($dh);
and let me know if that works.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jun 14, 2010, 11:25 AM
bretsallee
 
2 posts · Jun 2010
Thanks so much for your quick response. That second fix in the php file did the trick. I'm up and running.


Thanks again
  #4  
Old Jun 14, 2010, 11:50 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
solution is now in 'BUGFIX 351-02: Header images not showing in sorted order'
http://forum.bytesforall.com/showthread.php?t=7577
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to get a header image to rotate every 'N' seconds juggledad Header configuration & styling 49 May 22, 2011 05:01 PM
Rotate specific header images by category. Vigilance theme. vxfnick Header configuration & styling 3 Sep 22, 2009 11:15 AM
How to get the header images to rotate in a random fashion? ptuquoc Header configuration & styling 3 Jul 29, 2009 06:02 AM
Can Rotate Header and Resize Header work together? thetravelchronicle Forum How-To 10 Jun 24, 2009 08:24 PM
Header Images Fail to Rotate Yarrokon Header configuration & styling 10 Jun 8, 2009 11:17 AM


All times are GMT -6. The time now is 05:52 PM.


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