Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 12-25-2006, 12:53 AM   #1
tabasco
Confirmed User
 
tabasco's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: In a van down by the river
Posts: 2,624
What's the easiest way to do this in wordpress?

I've got 20 or so thumbnail images in my sidebar that link to sponsers. I want to randomize the order in which they appear on each page load.
__________________
"There is no other way to see a thing except to look at it" - fatfoo
tabasco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-25-2006, 10:56 AM   #2
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
i think their is a random plugin, or you could just write a mini php script and call it from the sidebar
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-25-2006, 09:59 PM   #3
WebDoodlesUSA
Registered User
 
Join Date: Dec 2006
Posts: 21
Yeah, there are a ton of "randomness" plugins. I'm sure there HAS to be one to fit this. plugins.wordpress.org i think.
__________________
Save money on Adult Blog Designs by choosing WebDoodlesUSA.
WebDoodlesUSA.com
WebDoodlesUSA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-25-2006, 10:05 PM   #4
Babaganoosh
♥♥♥ Likes Hugs ♥♥♥
 
Babaganoosh's Avatar
 
Industry Role:
Join Date: Nov 2001
Location: /home
Posts: 15,841
It doesn't need to be a "plug-in." Write a few lines of php to randomize an array containing your thumbs & links. Then use a php include to show the results in a sidebar.
__________________
I like pie.
Babaganoosh is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-25-2006, 10:44 PM   #5
tabasco
Confirmed User
 
tabasco's Avatar
 
Industry Role:
Join Date: Jul 2006
Location: In a van down by the river
Posts: 2,624
Quote:
Originally Posted by Babaganoosh View Post
It doesn't need to be a "plug-in." Write a few lines of php to randomize an array containing your thumbs & links. Then use a php include to show the results in a sidebar.
Can you spell it out for me? I've got no idea how to write something like that.
__________________
"There is no other way to see a thing except to look at it" - fatfoo
tabasco is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-26-2006, 04:27 AM   #6
AsianRain
Registered User
 
Join Date: Oct 2006
Location: Asia
Posts: 68
Quote:
Originally Posted by tabasco View Post
I've got 20 or so thumbnail images in my sidebar that link to sponsers. I want to randomize the order in which they appear on each page load.
Pretty simple to do. First create a category called "sidebar links." When you create the category, select the 'sort order' as "random." Next, associate all your links with this category and they should all appear in a random order. Good luck, AR+
__________________

ICQ: 168.824.451
AsianRain is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-26-2006, 12:24 PM   #7
Hentaikid
Confirmed User
 
Hentaikid's Avatar
 
Join Date: Nov 2002
Posts: 1,249
Yeah you can make a link category, associate image with each link, put it in the sidebar with "getlinks_byname" or whatever the call is and set the category to random, look it up on the codex for the details
Hentaikid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 12-26-2006, 12:39 PM   #8
Hentaikid
Confirmed User
 
Hentaikid's Avatar
 
Join Date: Nov 2002
Posts: 1,249
Yeah you can make a link category, associate image with each link, put it in the sidebar with "getlinks_byname" or whatever the call is and set the category to random, look it up on the codex for the details
Hentaikid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.