REALITYPOD
InternetTech

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

FutureWeapons IWI Micro-Tavor

Realitypod

iTunes 10.5 beta 4 is now available for Windows and Mac

Realitypod

Snow Flake Under An Electron Microscope

Realitypod