WP-Plugin: Technorati Tags for WordPress 2.3
This plugin allows the user to display Technorati tags instead of the native tags in WordPress 2.3. It uses WordPress 2.3’s native tagging/taxonomy system. The formatting of the output is the same as of the native tags system: the_techtags('before','separator','after');. This plugin was written to mimic Ultimate Tag Warrior’s ability to display Technorati tags.
Installation:
Download the plugin here.
Unzip or extract the file wp23techtags.php.
Upload the file to your plugins folder (wp-content/plugins/)
Activate the plugin.
Usage:
Simply paste <?php the_techtags(); ?> to within The Loop to display the Technorati tags.
Usage (in Detail):
To display Technorati Tags just below your posts in the front page, go to your Admin area.
Go to Presentation and then click on Theme Editor.
Click on Main Index Template at the right. You should be able to see the code to your theme’s index.php.
Look for the line that says <?php the_content(); ?> or something like it and then immediately below it, you can add the code <?php the_techtags(); ?>.
You can also add line breaks (<br />) before and after to add space between the post and the tags.
Click on Update to save the changes.
To display Technorati Tags in single posts, go to your Admin area.
Go to Presentation and then click on Theme Editor.
Click on Single Post at the right. You should be able to see the code to your theme’s single.php.
Look for the line that says <?php the_content(); ?> or something like it and then immediately below it, you can add the code <?php the_techtags(); ?>.
You can also add line breaks (<br />) before and after to add space between the post and the tags.
Click on Update to save the changes.
Support:
In case this plugin does not work for you, first check if you are using, or have upgraded to WordPress 2.3, as this plugin requires the new tagging system. You may send your questions, comments, suggestions, and requests for help to will [at] gormful [dot] com or simply leave a comment on this page.
This plugin is provided for free and as-is. If you like using this plugin, a linkback would be greatly appreciated. Entirely optional, but greatly appreciated.
Happy Hunting!
UPDATE: 10/03/2007
This plugin has been updated to support blogs that don’t use the “Date and Name Based” Permalink structure. A little oversight on my end that went unnoticed until Ian of Sox & Dawgs pointed it out. Thanks, Ian.
The download link has been updated. If you are using a “Date and Name Based” permalink structure, you don’t have to re-download this plugin.
UPDATE: 10/08/2007
Technorati Tags for WordPress 2.3 has been updated. This release removes the excess trailing slash and uses a plus (+) sign in place of the hyphen (-) used in separating slugs of the multiple word tags. The download link has been updated and everyone is advised to download the latest version to produce a more accurate Technorati tag search result. Thanks to Jake for pointing this out.
Current Version: 1.2
thanks
@Bezalel: Good to know it worked. Thanks for using the plugin.
Looks like updating the “Tag Base” field solved the problem. Thanks a lot for the help, and of course for the excellent plugin itself
@Bezalel
Nothing in the code suggests that format to appear. I would suggest going to the Permalinks page and check if you have anything in the “Tag Base” field. Try typing in ‘/tag’ without the quotes as the tag base if it is blank. The plugin uses the tagging/taxonomy system of WordPress 2.3.x so it might be causing that issue. Let me know if this solves your problem.
And thanks for trying out the plugin.
Hi Will,
I use this format for my permalinks:
/archives/%postname%/
and the Technorati links I get look like this:
http://www.technorati.com/archives/tag/postname
what am I doing wrong?
@Spor: You might want to send me a screenshot of where you are actually trying to put the code to my email at will [at] gormful [dot] com so I can help you properly. Thanks for using, or at least trying to use, my plugin.
This is what shows up on my blog when I follow your instructions:
@JHS: I think I get the picture. You might want to check your theme. If you see
the_content();without the php markup (<?php ...) on the same line, then you simply just have to pastethe_techtags();.I’m just guessing that you already have
<?php ...declared somewhere before. You might want to send me a screenshot of where you actually paste the code and the resulting display afterwards to my email, will at gormful dot com, so I can further help you out.Cheers.
This is what shows up on my blog when I follow your instructions:
<?php the_techtags(); ?>
@JHS: Can you please clarify what was actually showing so I can help you out properly and immediately? Thanks.
Hi Will: When I followed your instructions, all I got was showing up on my page rather than the correct link to Technorati. It seems to me that your instructions must be missing a step! Please clarify.
Thanks.
@Lauren: No problem. In your Admin area, go to Presentation and then click on Theme Editor. Click on Main Index Template at the right. You should be able to see the code to your theme’s index.php. Look for the line that says
<?php the_content(); ?>or something like it and then immediately below it, you can add the code<?php the_techtags(); ?>. You can also add line breaks (<br />) before and after to add some space between the post and the tags. Click on Update to save the changes. That’s it.If you want the technorati tags to appear when viewing a single post, simply do the same steps mentioned above to the Single Post template of your theme. If you need clarification, feel free to email me at will [at] gormful [dot] com. And no, you’re not being dense.
I just updated the page to show the details in installing the code.
Thanks for using this plugin, Lauren. Happy Hunting.
Hi, I just downloaded this plugin as I recently upgraded to WP 2.3 and was looking for a way to add technorati tags to my posts. Maybe I’m being really dense (or maybe it’s simply that I don’t know PHP), but I do not understand how to use the plugin at all. Would you be able to provide more detailed usage instructions for us n00bs? Thanks!
Will,
Wow, thanks man. That’s what I call superior customer service!!