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:
- WordPress Post Types and Taxonomies – Displaying Post Types
- WordPress Theme Tricks – WordPress Conditional Tags
- 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