Monthly Archives: March 2012

53 | Adsense Ad at Random Position in a Posts Page


This code is made to output an adsense ad (or any other block of output) at a random position within the loop, with the restriction to a preset number of possible positions. Thanks to the tutorials of …

Posted in Tips & Tricks, WordPress | Tagged , | Leave a comment

52 | Numbering Posts


To give posts a continuous number in index pages or archives, try this little piece of code: Place it within the loop; condition: needs to be adjusted for any custom query.

Posted in Easy Coding for Wordpress | Tagged , | 3 Responses