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

3 Emerging Technologies That Will Change Everyone’s Lives


Tiny Device That Allows You To Mix Like A DJ With Your Phone


Apple releases the iPhone 4S with Major Hardware upgrades