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 »

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


  #1  
Old Jul 28, 2009, 07: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, 02:36 PM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 28, 2009, 04: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, 06:02 AM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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)
__________________
"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
Calling random images in the sidebar, similar to header cowgirlgeek Sidebars & Widgets 1 Jun 30, 2009 07:41 PM
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
Pls help with - How to get a header image to rotate every 'N' seconds (sticky) HavaLyon Header configuration & styling 9 Apr 27, 2009 09:30 AM


All times are GMT -6. The time now is 12:23 AM.


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