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 »

Random rotation


  #1  
Old Oct 25, 2009, 06:46 AM
deltahouse
 
10 posts · Sep 2009
Hi all
a simply question for an important issue:
how to make random the rotation of the header image?

Rotation is in itself a great feature...but if it's not random, in a long term it can become boring...

Thank you...
  #2  
Old Oct 25, 2009, 12:15 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the JS code to do the rotating headers is in js.php if you want to code a random selection.
If you do, please post the code for others to use
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Oct 25, 2009, 04:04 PM
deltahouse
 
10 posts · Sep 2009
Quote:
Originally Posted by juggledad
If you do, please post the code for others to use
If I could, there was no reason to post here.
Of course.
  #4  
Old Oct 26, 2009, 08:46 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 to make a nice donation, I could look into it for you
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Dec 25, 2009, 04:03 PM
dimitrios1988
 
1 posts · Dec 2009
I have attached a modified js.php code in the js.txt file that is in the archive. Just go to Appearence-->Editor and edit the js.php. Replace the entire js.php's code with the code that is in the modified js.txt file. Then save and you are done!! Please confirm that the header is showing all of your pictures, because I haven't tested it yet.
Attached Files
File Type: zip js.zip (2.5 KB, 1104 views)

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I change header to random rotate fretbuzz Header configuration & styling 1 Aug 8, 2009 05:10 AM
How to get the header images to rotate in a random fashion? ptuquoc Header configuration & styling 3 Jul 29, 2009 05:02 AM
Calling random images in the sidebar, similar to header cowgirlgeek Sidebars & Widgets 1 Jun 30, 2009 06:41 PM
[3.3.3]Javascript Rotation Question Pxl_Buzzard Header configuration & styling 2 May 9, 2009 05:18 AM
HELP PLEASE! Trying to use Stray Random Quotes Widget - Won't Work.... laurastone Sidebars & Widgets 1 Mar 30, 2009 05:33 PM


All times are GMT -6. The time now is 08:04 AM.


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