I need a script that will allow me to auto appear a link to a page let's say Saturday morning. Let's say I posted the page Tuesday (to go live on Saturday). On Saturday morning, the link will appear at that page without me doing anything (of course PHP and the server timer will do the work).
Any one? Please.
The page is a radio station. I won't be there on Saturday. They have a show Saturday morning, and they have a page link that needs to be showing in the main Listen page ONLY on Saturdays (this page is a customized WordPress page (so I can add more PHP). The post linked contains some text for the radio in PDF. If there would be a script that would make the link live for me (I could provide the link manually every week, since the post will eventually contain the show recorded) it would be changing weekly the post.
I hope this is clear.
The link is a simple Link inside the page.
<?php http://.web.com/radio to show up Sat, Jan 20, 2011; 10 AM : ?>
What I need may be worded: Link in a post to appear at a certain time, then disappear 8 hours later.
Basically I am looking for a php or jquery (probably) script that does this: There is WordPress Page that is highly customized, that will need a link to appear at a certain time (Saturday morning), then disappear 8 hours later. I need this to run by it self. The link will change weekly and I can add the new link every week. Please help.
The easiest solution in my mind, would be to create a shortcode, then run some conditional logic in the shortcode function to determine if it's an appropriate time to display(or not display) a link, that way you can plonk a shortcode into your applicable post or page and let the magic happen automatically.
Some info/guides on creating shortcodes.
http://codex.wordpress.org/Shortcode_API
http://www.smashingmagazine.com/2009/02/02/mastering-wordpress-shortcodes/
You could even store the time to show in an attribute of the shortcode, but you'll need to familiarise yourself with building one before that makes any sense, so get reading.. ;)