Click to Play

Apple iPhone or Google myTouch
Earlier this week T-Mobile announced the national retail availability of Google's myTouch 3G. After anticipating the device for quite some time, our very own Mike...

Recent Articles

Increasing Site Revenue With Better Keyword...
When you're running a blog with affiliate links, one of the key factors that can increase your conversions, help you make more sales, and ultimately put more money in your pocket, is to have ads that are targeted...

Building A Consistent Mobile Representation...
One of the constant PITA experiences I have when using the web from a mobile device is the many websites you go to that aren't optimized for the small screen...

Developing Your Site Design With Integrated SEO
SEO: time-intensive, ever changing, and highly misunderstood. Creating a website design that is appealing, while also search engine friendly, is one of the hardest parts about SEO web design.

Upgrading WordPress To 2.8 Just Got Even Easier
A new version 2.8 of Wordpress was released this week and I've upgraded this blog to that latest version. 2.8 has some significant new features, enhancements...

Researching And Implementing The Best...
When you own an online business one of the most important things you can do is get high rankings in the search engines. There are many ways of doing this. One of the most effective ways of getting your site...


08.10.09

Adding Digg And Facebook Support To Your Blog Site

By Michael Gray

If you're involved with social media sites like Digg, Facebbok or Reddit, you've probably seen stories with images next to them. If you've submitted stories there, you may have seen it present you with a few image choices, sometimes the one you want is there sometimes it isn't.

Then there's the the case where the social media site chooses the image on it's own, and it's a crappy image or worse yet an ad … dooming your story to failure. Did you know there's a way to fix that problem?

Many social media sites like Digg and Facebook work with what's called the facebook share standard, so you can tell these services which image you'd prefer they use. This tutorial deals specifically with Thesis, but again can be used on any wordpress blog, but remeber things are just easier with thesis:-)

We need to open up custom_functions.php and add the following code:



Get a Holistic View of Your Complete IT Infrastructure - Free Trial



Now we have to tell thesis where and when to execute the function, we do that by adding this to custom_functions.php



You may not have seen wp_head before, it's a built in wordpress shortcode that tells it to execute this code in the head area of the page. That's it easy as pie. You could improve the code, by maybe adding an if/then to chose the thumbnail over the big picture, or maybe see if there is a special field and then fail over to thumbnail or main image. I think this funtionality should be added to the next version of thesis, if you agree let them know (wink wink nudge nudge).  if you enjoyed this post check out some of my other thesis tutorials.

Comments

About the Author:
Michael Gray is SEO specialist and publishes a Search Engine Industry blog at www.Wolf-Howl.com. He has over 10 years experience in website development and internet marketing, helping both small and large companies increase their search engine visibility, traffic, and sales. Michael is a current member of Internet Marketing of New York ( IM-NY.org) and a guest speaker on Webmaster Radio. He is also an editor for the popular search engine new website Threadwatch.org.
About DevWebProCanada
DevWebProCanada is for professional developers ... those who build and manage applications and sophisticated websites. DevWebProCanada delivers via news and expert advice New Strategies In Development.
iEntry





DevWebProCanada is brought to you by:

SecurityConfig.com NetworkingFiles.com
NetworkNewz.com WebProASP.com
DatabaseProNews.com SQLProNews.com
ITcertificationNews.com SysAdminNews.com
LinuxProNews.com WirelessProNews.com
CProgrammingTrends.com ITmanagementNews.com






-- DevWebProCA is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2009 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal 

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article