Wednesday, August 29, 2012

WordPress Theme Tricks – Display Google Ad after the first post

How to display a Google ad after the first post? It is very simple. You just need to add a variable ($loopcounter) in The Loop. If the $loopcounter is less than or equal to 1, then include google-ad.php code. [crayon-503e319401856/] This is a part of WordPress Theme Tricks tutorial.


The post WordPress Theme Tricks – Display Google Ad after the first post appeared first on Tutorial Mini.


Related posts:

  1. WordPress Post Types and Taxonomies – Displaying Post Types

  2. WordPress Theme Tricks – WordPress Conditional Tags

  3. The Anatomy of a WordPress Theme – Dynamic Content






via Tutorial Mini http://tutorialmini.com/wordpress-theme-tricks-display-google-ad-after-the-first-post/

No comments:

Post a Comment