Get Random Search Terms Plugin
I’m always interested to know how people found this site and I enjoy reading some of the search terms that land people here. A few weeks ago I wrote a very basic script that pulls search terms from my database and displays 10 random terms for the user. I decided to go ahead and make this a plugin.
Feel free to download it for use on your site.
Details: This plugin simply pulls 10 random search phrases from the wp-stattraq table in your database. The search terms will change with every page load. The search terms link to google’s search of that phrase.
Instructions:
1. Download and install the StatTraq plugin from Randy Peterman (If you already have it installed, skit to Step 2.
2. Rename get-random-search-terms.php.txt to get-random-search-terms.php.
3. Upload the get-random-search-terms.php to your wordpress plugin directory: wordpress_root/wp-content/plugins
4. Activate the plugin from the wp-admin menu.
5. Decide where on your page you want to place the random search terms and then call the function: get_search_terms()
6. To style the search terms, modify styling information for the class called: search_terms
Usage:
To use, add the following to your sidebar menu or place of your choice:
get_search_terms();
Like this post: TechnoratiStumbleUponBookmark: Del.icio.usDigg
RSS feed for comments on this post | TrackBack URI for this post

January 8th, 2006 at 11:06 am
Nice blog hooker. You’re such a geek. It makes my eyes hurt.
How many days left??
January 15th, 2006 at 9:59 pm
Can this plugin be used to boost Web-engine searchablity?
http://www.TechRd.com
January 16th, 2006 at 8:28 am
Joy, you need to try this out. I know you have StatTraq installed.
Brian, this could be used I guess although the effect would be minimal. Thanks for stopping by.
January 18th, 2006 at 2:43 pm
Wow nice! I wish I could be a geek. I found this place from Creative Coast.org
January 26th, 2006 at 10:56 am
[...] Speaking of revenue - it seems that Natalie Bassingthwaighte has quite a few fans! My Visits and Pageviews have increased significantly since adding a Natalie Bassingthwaighte Gallery to the site. She seems quite popular! Also thanks to Sara’s Random Search Term Generator which helps as well. But it’s actually quite amusing how so many people spell her name wrong - Natalie Bassingthwaite! Ah well. [...]
February 4th, 2006 at 6:12 pm
This is pretty cool, I love reading all of my odd search terms.
February 28th, 2006 at 12:25 am
Hi, I installed it in http://www.indianjobs.in . I get an Invalid argument supplied error, What might be the reason
Thanks for the plugin
March 12th, 2006 at 9:22 pm
Sarathy, same here. Could be that we are using WP 2.0.
March 13th, 2006 at 8:04 am
sarathy and Ash, I’ll take a look at it when i get a chance. I’ll send you an email shortly. Thanks for letting me know
March 15th, 2006 at 10:36 pm
Hey ash, its because i dint install the stattraq plugin. Now Its working in our site properly
Hey sara, Thanks a lot
.,
Its a wonderful script
June 7th, 2006 at 7:32 am
Are you still working on this plugin?
I get this error when I activate it
I am running Wordpress 1.5.1.2
What am I doing wrong?
Help me please!
July 15th, 2006 at 12:51 pm
[...] Get Random Search Terms Plugin was a cool post for me. I made a little script for myself, but then i turned it into a plugin and i have seen many people use it. That’s pretty cool when other people can find use out of something you made for yourself! [...]
September 3rd, 2006 at 12:23 pm
sara,
i am using the latest wp (ver 2.0.4)
i installed this plugin on http://veganmall.info
but keep getting this error
Warning: Invalid argument supplied for foreach() in /home/veganmal/public_html/wp-content/plugins/get-random-search-terms.php on line 49
cheers,
September 4th, 2006 at 1:37 am
Xnxx — I completely missed your comment, I’m sorry!
Alex and Xnxx - I am supposed to get Internet installed today in my new house and once that happens I will be able to look at your problems and try to help troubleshoot them.
September 29th, 2006 at 8:57 pm
[...] Another usefull plugin that can be used with WP-Stattraq is “Get Random Search Terms” for WordPress. Autor : Sara Smith Plugin Site : CLICK HERE [...]
September 29th, 2006 at 9:15 pm
[...] Plugin Site : CLICK HERE [...]
November 30th, 2006 at 7:44 am
[...] Sara Smith ã•ã‚“ã® Get Random Search Terms Plugin を使用ã™ã‚‹ã®ã§ã™ãŒã€ãã®ã¾ã¾ã§ã¯æ—¥æœ¬èªžã«å¯¾å¿œã—ã¦ã„ãªã„ã®ã§å°‘ã—コードã«å¤‰æ›´ã‚’åŠ ãˆã¾ã—ãŸã€‚ [...]
January 1st, 2007 at 1:17 am
[...] It is pretty neat and i think it gives readers an interesting perspective into my personality that they wouldn’t see in my posts. Over the months though, I continuously had people asking me for a copy of it. I decided I should make it a plugin because i didn’t know of any like it out there. I finally did. My good friend Jelena wanted to start her blog last month and she wanted a copy too. All according to my evil plan, i talked her into helping me finish it. I remember when I told her the functionality I had left to do on it and she said.. oh 2-3 hours tops. We’ve spent well over 80 hours since then and finally have something that is hopefully worth to put out. That probably seems likes an astronomical amount of time but it really is a PITA to make it work just by dragging and dropping a file into your plugin directory. I have a new found respect for plugin authors. My last plugin was a breeze to make but the functionality was also very limited and didn’t require any interaction with the admin panel. [...]