Hey there, I just registered because I couldn't figure this out by myself after searching and trying for several hours. I'm sure this will be easy to do for most of you.
I need a php script which will randomly chose one link from a list and assign this specific link to a single wordpress post only. The link needs to be chosen only once and be static from then on - the link is NOT supposed to change when refreshing the page.
The link list would basically look like this:
<a href="http://www.google.com" title="Google">Google</a>
<a href="http://www.noodle.com" title="Noodle">Noodle</a>
<a href="http://www.noodle.com/spaghetti/" title="Spaghetti">Spaghetti</a>
<a href="http://www.fantasyunicornworld.com/genocide/" title="Weird">Nonsense</a>
Well, you know what I mean. So it's not merely a list of urls but rather a list of tons of urls with different titles and anchor texts.
Can anyone here help me achieve the functionality I just tried to explain?
Thanks a lot in advance for any possible help.