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 » Header configuration & styling »

[SOLVED] Ordering the rotating headers


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 Jun 8, 2010, 09:18 AM
reklaw
 
4 posts · Jun 2010
[SOLVED] Ordering the rotating headers

Hi, I would like to specify the order that the header images load and rotate on my website. I tried to follow the instructions from this blog post to no avail. Here is a link to my site so you can see what I am trying to do- I am trying to get the colored evolution sequence from left to right.

Has anybody already found a solution for this? Thank you, Brian
  #2  
Old Jun 8, 2010, 09:34 AM
juggledad's Avatar
juggledad
 
19,973 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Name the images image1.jpg, image2.jpg etc
  #3  
Old Jun 8, 2010, 09:35 AM
lmilesw's Avatar
lmilesw
 
9,369 posts · Jul 2009
Central New York State USA
It looks like you don't have your images named sequentially. The should be something like 1-header.jpg, 2-header.jpg, 3-header.jpg, etc. in the order you want. You have lm1red.jpg, mh6.jpg, 6mh6.jpg. Thus the rotato doesn't know what order you want.
__________________
~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.
  #4  
Old Jun 8, 2010, 09:36 AM
lmilesw's Avatar
lmilesw
 
9,369 posts · Jul 2009
Central New York State USA
Ooops... I was too slow.
__________________
~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.
  #5  
Old Jun 8, 2010, 11:17 AM
reklaw
 
4 posts · Jun 2010
Thanks for the help guys, but even when I name them sequentially, there seems to be no reason to the order. But, the order does repeat itself. Very weird.
  #6  
Old Jun 8, 2010, 02:40 PM
juggledad's Avatar
juggledad
 
19,973 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
which settings for the header images are you using?
  #7  
Old Jun 8, 2010, 05:47 PM
reklaw
 
4 posts · Jun 2010
My header settings are-1 sec js rotation, 1 sec fade, no preload js, no clickable, 175 ht, top-center, no for the rest. Also, my images are named image01.gif-image13.gif.
  #8  
Old Jun 8, 2010, 08:03 PM
juggledad's Avatar
juggledad
 
19,973 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Try turning off the fade code
  #9  
Old Jun 9, 2010, 05:23 AM
juggledad's Avatar
juggledad
 
19,973 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
do you know what server your site is running on? is is linux or something else?

could you try this. Edit bfa_m_find_in_dir.php (it's in the functions folder) and find line 36 (in version 3.5.1) which should be
HTML Code:
    closedir( $dh );
and change it to
HTML Code:
    sort($file);
    closedir( $dh );
it seems that the php 'readdir' functions returns the files in the directory
Quote:
...in the order in which they are stored by the filesystem.
I'm thinking your server doesn't store them by name, maybe by date. Hopefully this will fix it.
  #10  
Old Jun 9, 2010, 07:40 AM
reklaw
 
4 posts · Jun 2010
Thank you for the reply Juggledad, I tried your suggestion and edited the php file, but I could not get the files ordered. To see if the server was storing the photos chronologically, I deleted the files from the header folder and re-uploaded them one at a time. Still no order.

I found a solution that allows me a little more control- I made an animated gif in photoshop. The one drawback is that I can't seem to get the frames to fade in and out so I am still interested to a solution to this problem if someone comes across it. Thanks again, Brian
  #11  
Old Jun 9, 2010, 07:42 AM
lmilesw's Avatar
lmilesw
 
9,369 posts · Jul 2009
Central New York State USA
How about a slideshow plugin. I think some of them allow for random or sequential ordering.
__________________
~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.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cache and rotating images headers! Ponics Header configuration & styling 8 Dec 31, 2010 02:30 AM
[SOLVED] Ordering pages for horizontal nav bar and adding space before and after the cjceer Page & Category Menu Bars 2 Nov 6, 2009 09:29 AM
Ordering items in a combined page & posts menu bar blueplanet Page & Category Menu Bars 1 Oct 22, 2009 05:52 AM
[SOLVED] Links re-ordering by date of insertion cactus02 Sidebars & Widgets 3 Oct 2, 2009 06:22 AM
Category ordering in widget pminner Sidebars & Widgets 2 Mar 15, 2009 07:37 AM


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


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