Comments on: Display Random Adverts in WordPress with Custom Fields https://wpshout.com/display-random-adverts-in-wordpress-with-custom-fields/ A hub for advanced WordPress users, developers & savvy business owners. Wed, 18 Feb 2015 12:40:09 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Nometech relaunches! Introducing WPShout.com | WPShout.com https://wpshout.com/display-random-adverts-in-wordpress-with-custom-fields/#comment-19171 Sat, 18 Jul 2009 11:05:24 +0000 http://www.nometech.com/blog/?p=623#comment-19171 […] you may know from various hints I’ve been dropping recently, Nometech has been going through a little redesign and relaunch, […]

]]>
By: Alex Denning https://wpshout.com/display-random-adverts-in-wordpress-with-custom-fields/#comment-19170 Thu, 16 Jul 2009 13:01:02 +0000 http://www.nometech.com/blog/?p=623#comment-19170 @Rarst @NickG sure, not the best way to display a random ad, but it's the principle and shows what can be done with custom fields!

]]>
By: Rarst https://wpshout.com/display-random-adverts-in-wordpress-with-custom-fields/#comment-19168 Wed, 15 Jul 2009 19:28:06 +0000 http://www.nometech.com/blog/?p=623#comment-19168 Why not write tiny function (possibly with shortcode on top) that will return one of three images randomly and use it wherever needed?

Using custom field for storing information completely unrelated to post and running query to get it seems roundabout. 🙂

]]>