Internet Tech

Top 10 Ways to Tweak Your WordPress Theme

No 6. Google Analytics Tracking Code

This code will go to your ‘footer.php’, where you should add it above the ‘</body> tag. The code will come from Google itself once you sign up for a free account with Google Analytics. Google Analytics is the most popular tool for tracking your traffic.

No 5. Post thumbnails

Adding the following line to your theme’s ‘functions.php’ will allow for setting a thumbnail for every post with the need for any custom fields or embedding within the post content.

<?php add_theme_support( ‘post-thumbnails’ ); ?>

Then you should insert your post thumbnail image within your loop, using the following tag:

<?php the_post_thumbnail(); ?>

You can also add various thumbnail sizes, and cropping options.

Related posts

Top 10 iPhone Games by Sales Volume


Skully Helmet: A Complete Package of Life Safety for Bikers


Teen Creates Smart Gun That Is Destined To Positively Change The World Forever