WordPress Plugin: Search Term Tagging 1.0 Beta
Posted
- August 15th, 2006
Comments
- (10)Say something?
Tags
I read this post on Blogging Pro about some needed WordPress plugins, as suggested by Chris Pirillo. As I was reading through them, I thought, “Damn, I could do that fourth one pretty easily.”
For reference, the fourth one was as follows:
What about a plugin that takes incoming search terms and auto-tags the post based on those terms (with or without moderation)? So, if a user searches for KeywordXYZ on Google and ultimately visits one of the blog entries, that blog entry will have the KeywordXYZ added to its tag list (via UTW or something).
And so I wrote it.
Presenting Search Term Tagging 1.0 (Beta, of course)
You may download the source here: http://17thdegree.com/wp/searchTermTagging.phps
I’ve only tested on my WordPress, version 2.0.2 (I know I need to upgrade), installation. No guarantees on anything working or breaking.
Instructions:
- Download Source (above)
- Activate the plugin
- Add this code to display it wherever you want it to be seen on your blog:
<?php /* Search Term Tagging Plugin */ echo "<div id=\"searchTermTagging\">n"; echo stt_terms_list(); echo "</div>n"; ?>
Any questions, comment here. There isn’t a whole lot to it. So, what would you guys like added to it? Also, I’m not really tied to the name for this plugin, any better ideas?
February 23rd, 2007 at 3:17 pm |
Hi, I’m trying to use your plugin in my sidebar, but when it loads stops and WP says: “Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in wp-content/themes/doogate-maroon-200612/sidebar.php on line 48″, I’m using:
\n”;
echo stt_terms_list();
echo “\n”;
?>
Can you please help me?
Thanks
May 16th, 2007 at 12:52 pm |
[…] i found one : Search Term Tagging Only Problem is it makes the tags in it’s own tag system. Well of course i, see a need - fix […]
May 16th, 2007 at 1:25 pm |
i updated your plugin to use utw http://elsid.net/2007/05/16/wordpress-add-search-terms-to-utw-tags-plugin/
June 14th, 2007 at 5:56 am |
Pande - it’s better if you put on the single.php above the permalink
November 9th, 2007 at 9:03 pm |
I get a warning message:
Warning: array_unique() [function.array-unique]: The argument should be an array in /home/username/public_html/wp-content/plugins/searchTermTagging.php on line 118
How I fix this is by add this line inside php code in the plugin:
error_reporting(0);
Hope this helps.
Thanks
January 5th, 2008 at 2:50 am |
[…] pengguna plugin “Search Term Tagging” ? Plugin ini kerjanya mirip dengan bstat, hanya saja lebih ringan untuk dijalankan (tapi […]
February 25th, 2008 at 8:39 am |
How can I make the search terms to link to its post permalink?
Please help me out…
April 10th, 2008 at 8:51 am |
Hope it works with 2.5
July 6th, 2008 at 11:40 pm |
Any updates to the new version of Wordpress? It is not working in the 2.5x version?
Thank you
Hemanth
July 25th, 2008 at 2:05 pm |
Hi,
This plugin is great… but I´m in trouble.
I can not set the number of search terms to appear.
I think if so many terms appear in my page, I will be penalized by Google.
Can you help me?
Thank you.