Add a Follow Me on Twitter Link to Your Posts for Studiopress Wordpress Themes

This post is a tut about how to Add a Follow Me on Twitter Link to Your Posts for the studiopress wordpress themes.
twitter-post=studiopress-wordpress-theme
I have seen a lot people want to add a “follow me” link to the posts, but a lot of them do not know how to cusmoise their studio press themes. In fact, this is something that is very easy to accomplish by following the steps below.

Customize Studiopress Wordpress Themes:Add a Follow Me on Twitter Link to Your Posts

  • Step #1

First of all, you’ll need to establish a class of CSS for the link. Add this to your theme’s stylesheet like this:

.follow-me {
	background: url(images/twitter.png) no-repeat left center;
	padding: 2px 0px 2px 20px;
	}

You can see that this CSS defines the link class you will use, and that an image is associated with it which is set as a background image. You’ll need to upload an image to your theme’s images directory on your server in order for it to show.This is very important.

Here  is a sample image you can use for your Follow Me on Twitter link ==>Twitter you can right click and save image as.You can search any images as you like.

  • Step #2

After that,the next thing you will need to do is open up your theme’s index.php file and look for the content call:

<?php the_content(__('Read more', 'studiopress'));?><div></div>

then just place this code after that codes:

<a href="http://twitter.com/username">Follow Me on Twitter</a>

Please make sure you have replaced “username” in the code above with your own Twitter username. Really easy right? And you’re done!

All you need to know is that  this tutorial was written for StudioPress themes, which are original professional wordpress themes – if you want to add a Follow Me on Twitter link to your post, check to see if your theme has a single.php file. If it does, use that file instead of index.php in Step #2.
If you are planning puchase the studiopress themes, just click here and use the studio press coupon code to get 10% off on all studio press wordpress themes, the coupon code is BH10