[fr] Un petit bidouillage pour que mon plugin wordpress pour ajouter des tags ne montre (dans Technorati) que les billets de votre propre blog.
Here’s a quick hack for all of you who, like Fabienne, are disappointed that my Bunny’s Technorati Tags plugin points to the technorati tagspace instead of just your own posts.
For it to work, your plugin files need to be writable (how to do this is beyond the scope of this post, but try looking for a way to chmod 777
or whatever in your FTP program; if you use the command line, then chmod -R 777 wp-content/plugins
should do it). Then, open the plugin editor (WP admin screen > Plugins > Plugin Editor) and edit the file for Bunny’s Technorati Tags.
Look for this code:
$tag_link='<a href="http://technorati.com/tag/' . urlencode(urldecode($tag))
. '" title="' . __('See the Technorati tag page for', 'BunnyTags') . ' ''
. urldecode($tag) . ''." rel="tag">' . $display_tag . '</a>' . $separator;
// make a link to the technorati tag page, with tag link text
And replace it with this:
$tag_link='<a href="http://technorati.com/tag/' . urlencode(urldecode($tag))
. '?from=' . get_settings('home') . '" title="'
. __('On Technorati: see posts from this blog tagged', 'BunnyTags') . ' ''
. urldecode($tag) . ''." rel="tag">' . $display_tag . '</a>' . $separator;
// make a link to the technorati tag page, with tag link text
This isn’t quite the same as pointing them to a page on your blog which contains all the posts. But the final result is pretty similar. Otherwise, Fabienne says that Jerome’s Keywords Plugin does the trick for her.