Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 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
 
23,765 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, 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
 
23,765 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 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 12:33 PM.


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