How To: Adding a “Tweet This” Button to Your WordPress Theme

Are you following the WordPress Recipes blog?    If not, you really should be! My fellow blogger and friend Jean-Baptiste Jung has created this blog to feature a number of “recipes” or code snippets. In addition to the content, he’s also got a great design that has been getting attention all throughout the blogosphere.

In his latest recipe, Jean explains how to add a “Send to Twitter” link to your blog, or what I prefer to call it, a “Tweet This!” link.   The idea is to add a link on your blog (usually below the content) that people can simply click to discuss the post on Twitter.

If you’d like to add a “Tweet This!” link to your blog, here is the code you’ll need:

<a href="http://twitter.com/home?status=Currently reading <?php the_permalink(); ?>" title="Click to send this page to Twitter!" target="_blank">Tweet This!</a>

I would think that this could potentially be another great way to fetch traffic, possibly even better than a “Digg This!” link or something else along those lines.


Yet Another Related Posts WordPress Plugin

This will be my second post in as many weeks about related posts plugins, but after reviewing the related posts by category plugin last week, another plugin was brought to my attention.

This plugin is called the Yet Another Related Posts Plugin, but it is much more than that.  I mentioned in my last post that my favorite related posts plugin has not been updated in several years and doesn’t contain features like adding related posts to your feed.  YARRP separates itself from the rest with their advanced features, including:

  • Improved algorithm for finding related posts that also takes into consideration categories and tags
  • The ability to set a threshold on the relevancy of the posts that you want to show
  • The ability to display the related posts in your RSS feed
  • The automatic integration of the related links below your posts

As with any good plugin, you get a number of options which you can control from the WordPress dashboard:

I’m currently experimenting with this WordPress plugin on one of my low traffic sites and if I’m impressed, I will probably use this on all of my WordPress installations.    Do any of you use this plugin?   Are you pleased with it or do you prefer a classic like Related Entries?


PHPBB vs. VBulletin: Which Do You Prefer?

Today is Halloween here in the United States, so I figured to celebrate the holiday, I would switch from the usual content post and instead solicit input from the WordPress Hacks readership.   I enjoy doing this from time to time to see what kind of discussion we can get going and the comment often end up offering a wealth of knowledge. 

The question for today is for our readers who either run their own forums or enjoy visiting and commenting on forums.   Which forum software do you prefer?  Do you prefer PHPBB forums or VBulletin forums?  

I’ve always loved forums because an active forum allows you to interact with a large number of people and get help quicker than commenting on a post or even doing a Google search (sometimes).  I actually have experience being an administrator and a user of both forum types.    Here is my experience with both types:

PHPBB Forums

PHPBB Pros

  • FREE. 
  • Easy to setup.
  • Easy for just about anyone to use. 

PHPBB Cons

  • Options are limited.
  • Not very SEO friendly (as of version 3.0).

VBulletin Forums

VBulletin Pros

  • Generally better looking.
  • More features. 
  • Plugins/Addons available.
  • More SEO friendly than PHPBB

VBulletin Cons

  • Costs $100-$180.00 per license. 
  • Constant Maintenance/Updates required.
  • Targeted by Spammers.

Both forum types have skins available for free and for sale, so I didn’t mention that above.  It is also important to mention that you can easily convert your PHPBB forum into a VBulletin forum (I’ve read this, haven’t personally tried it).

In summary, as a user, I’ve always felt that to be considered a serious forum, you need to be using VBulletin.  It just looks more professional, has more options, etc.   From an administrator’s standpoint, however, I’ve enjoyed running PHPBB forums more.   VBulletin forums seem to attract a ton of spammy posts and sometimes moderating posts and banning users can be overwhelming (in my experience) and I feel like I have to update the software every few weeks.  It also seems to almost have to many options! 

So that is my experience with both PHPBB and VBulletin.   I would love to hear about your experiences and preferences between the two.  Have any pros or cons to add to the list?  You can write from the perspective of running either type of forum or from the user perspective (reading/posting) on either type of forum.  If you haven’t used either, you are welcome to share your experiences with BBPress.


Download StudioPress/Revolution WordPress Themes!

Note: As of January 1, 2009, it looks like Revolution/StudioPress themes are no longer free to download.  They are all now available individually for $59.95 or ALL Revolution themes for $249.95.

Last month we wrote about Brian’s huge announcement that Revolution was going open source.  At that time, the original launch date was scheduled for November 1st, but in the time since then the entire Revolution team has come together and managed to get Revolution 2 ready for an early launch!

As of today, Revolution is officially available to the WordPress Community.  Included with the Revolution launch are 8 incredible new themes (10 if you count the two blog theme variants) which were designed to fill a large number of different niches.  So far the choices include magazine themes, professional themes, media themes, photo themes, video themes, and even blog themes.  Best of all, they are available to download completely FREE!

What is the catch?  Well, there isn’t one.  The themes are 100% free, but there is a small fee attached to any extras you may want.  With purchase of either the yearly pro membership, or the pro plus lifetime membership (Revolution all-inclusive package owners already have this), you will get the following benefits:

  • Unlimited support answered by our experts
  • Learn customization techniques with our detailed theme tutorials
  • Professional design services available by our list of recommended designers
  • Discounted general consulting rates
  • Increase your search rankings with a link from the Revolution site directory

Here are the StudioPress/Revolution themes which are currently available for download:

StudioPress Revolution Magazine/News Themes

Lifestyle Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Magazine WordPress Theme

magazine-theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Delicious Child Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Sleek Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Lexicon Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Mocha Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Amped Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Serenity Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Platinum Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Streamline Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

News WordPress Theme

news-theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Going Green Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Bee Crafty Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Church Theme

church-theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Outreach Church Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

StudioPress (Revolution) Business Themes

Enterprise Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Education Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Executive Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Corporate Theme

corporate-home

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Metric Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Freelance Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

AgentPress Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Agency Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Family Tree Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

StudioPress (Revolution) Photo/Video Themes

Landscape Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Pixel Happy Photography Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

Expose Theme

Multiple-Use ($59.95), All StudioPress Themes ($249.95)

Source/Demo | Purchase

After looking around, I am already very impressed with how the site is setup and can see just how this site will grow in time to be a focal point in the WordPress community.  What do you think of this new business model?  Will it replace the current premium WordPress themes market in your opinion, or will you still be willing to spend your money when themes of this quality are available completely free?


Fixing the Unresponsive Script Problem in WordPress 2.5+

Yesterday in my post about moving your blog to a new domain, I mentioned that there is a problem that presents itself when posts are imported into WordPress 2.5 or later.   A quick search determined that I wasn’t the only one having this problem, so I decided to document how to fix this problem here (or at least how I was able to fix it).

Here are the steps I took to fix the problem with the unresponsive script in the Write panel (requires CPanel/PHPMyAdmin access):

  1. Please make a backup of your database in case you run into any problems.  These are the steps that worked for me to fix the problem, but I can’t guarantee they will work for everyone. 
  2. Login in to your CPanel.   This is usually found at http://yourdomain.com/cpanel/ and usually uses your FTP password.
  3. Access your PHPMyAdmin (in CPanel this is usually found at the bottom of the MySQL Databases page).
  4. Click on the MySQL database you created for your new WordPress installation in the menu on the left.
  5. Click on wp_postmeta in the list of tables on the left.
  6. Click the Browse icon.
  7. Click on the post_id tab once to sort the list from 0 to higher.
  8. Now you’ll need to delete anything with a post_id of 0.  Depending on how many posts were imported, there may be a lot of zeroes.  I had about 600 of them to delete.

The best way to do this is to locate the boxes with “row(s) starting from record #” between them.  In the front box put 100 (or whatever number of your choice) and always put 1 in the right box.   Click Show.  You can use the select all button and verify all of them are zero.   Uncheck any that aren’t zero and click Delete.  Repeat until all zeroes are gone.

Now open your Write panel in your new blog’s dashboard and everything should be good!