Articles
WordPress 2.7 Release Candidate 1
With the release of RC1, we’re in the final leg of development before the release of 2.7. 280 commits since beta 3 have polished the new admin UI (including new menu icons created by the winners of our icon design contest) and fixed all known blocker bugs. We think RC1 is ready for everyone to try out. Please download RC1 and help us make the final release the best it can be. As always, back up your blog before upgrading.
Tips & Tricks
Display custom url if comment authors url is blank
Here is a nifty trick for your comments.php
template. If someone comes to your site and leaves a comment but doesn’t leave a url back to there site, the default link that is shown in place of the php code comment_author_url
is the current page link.
That might not look good. So, here is a little trick that I just implemented into my site. Besides installing the twittar plugin and pulling Twitter avatars I wanted to use the image itself for the authors url like. But if the author doesn’t have a Twitter avatar or a Gravatar it will display a default Gravatar that I set. If the default Gravatar is shown, usually the author will not leave a url link.
I would like to link the image to Gravatar.com so that they can get an image attached to their email address. So.. here is the code:
<?php if($comment->comment_author_url != "") { ?> <a href="<?php comment_author_url(); ?>"><?php gravatar(); ?></a> <?php } else { ?> <a href="http://gravatar.com" title="Get a Gravatar today!"><?php gravatar(); ?></a> <?php } ?>
Plugins
Twitter avatars inside your WordPress comments
Ricardo Sousa, who writes for Smashing Magazine created a great plugin called Twittar.
This plugin will use someones Twitter Gravatar if their email address is not connected with a Gravatar.
For more info check out the full post at Twitter Avatars in Comments: A WordPress plugin
Image credit: Ricardo Sousa
Plugins
WordPress Wiki Plugin
The guys from Instinct whom released the E-Commerce Plugin have release a new plugin today. Dan Milward even went as far as to announce that this plugin was a gift for Matt Mullenweg, seeing how today is his 25th birthday.
The plugin: WordPress Wiki.
Head over to Instinct’s site and check it out.
-
Tips & Tricks2 months ago
WordPress Security Hacks
-
Pages5 months ago
Write For Us – Guest Post
-
Showcase5 months ago
StylizedWeb.com
-
News5 months ago
How to: Show/Hide any div box with jQuery in WordPress
-
Tips & Tricks4 months ago
Remove the title attribute using jQuery
-
Tips & Tricks1 month ago
How to: show/hide a widget in WordPress with jQuery
-
Plugins1 month ago
Top Membership plugins
-
Tips & Tricks5 months ago
Limit the characters that display on the_title
You must be logged in to post a comment Login