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 »

How to get the header images to rotate in a random fashion?


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 Jul 28, 2009, 06:49 AM
ptuquoc
 
2 posts · Jul 2009
Hi,

I really appreciate the rotating header images. I am curious if it would be possible to rotate the images in a random order and to begin rotation with a random image, as by now it seems that it always begins with the same image and then follows the same order.

Best regards
ptuquoc
  #2  
Old Jul 28, 2009, 01:36 PM
juggledad's Avatar
juggledad
 
20,151 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
You will need to edit the java script to shuffle the array of photos or the index to get the next picture. You will find the code in js.php in version 3.4.2
  #3  
Old Jul 28, 2009, 03:06 PM
ptuquoc
 
2 posts · Jul 2009
Dear Juggledad,

I found the code between lines 36 and 60. Unfortunately I don't have any knowledge in PHP programming. I am trying hard to either shuffle the HeaderImages array or to randomize the j counter, but neither of my attempts have been successful so far.
I would be grateful if you could help me for this.

Best regards
ptuquoc
  #4  
Old Jul 29, 2009, 05:02 AM
juggledad's Avatar
juggledad
 
20,151 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
If you want some custom coding, there is a section you can offer to hire someone to do it (http://forum.bytesforall.com/forumdisplay.php?f=22)

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 04:01 PM
Calling random images in the sidebar, similar to header cowgirlgeek Sidebars & Widgets 1 Jun 30, 2009 06:41 PM
Can Rotate Header and Resize Header work together? thetravelchronicle Forum How-To 10 Jun 24, 2009 07:24 PM
Header Images Fail to Rotate Yarrokon Header configuration & styling 10 Jun 8, 2009 10:17 AM
Pls help with - How to get a header image to rotate every 'N' seconds (sticky) HavaLyon Header configuration & styling 9 Apr 27, 2009 08:30 AM


All times are GMT -6. The time now is 11:25 PM.


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