This plugin shows recent searches in a sidebar widget.
Plugin Homepage: Recent Searches Widget
Plugin Homepage on WordPress.org: Recent Searches Widget
Author Homepage: Poradnik Webmastera
Author: Daniel Frużyński
This plugin shows recent searches in a sidebar widget. You can use this to tell your visitors what others are searching for. You can also use it to increase your site (i.e. number of pages indexed by Search Engines).
New searches are added to the beginning of the list. If search query is already on the list, it is moved to the beginning.
All links are SEO-friendly (usually site.com/search/searchterm
).
You can add rel="nofollow"
to links if you want. If you want to make sure search results will not be indexed, please install Meta SEO Pack plugin - it can do it for you.
Available translations:
recent-searches-widget
directory to the /wp-content/plugins/
directoryStarting from version 1.1 it is possible to insert special theme tag to insert Recent Searches Widget anywhere in your theme. To do this, use new rsw_show_recent_searches()
tag. By default it shows list of last searches using bullet list, like in sidebar. If you want to change this, you can pass up to three parameters when you call rsw_show_recent_searches()
. They will be used to display HTML code at beginning of the list, at end of it, and between list elements. Default use (without parameters) is equivalent for following call:
rsw_show_recent_searches( "<ul>\n<li>", "</li>\n</ul>", "</li>\n<li>" );
If you want to use numbered list, you can use this:
rsw_show_recent_searches( "<ol>\n<li>", "</li>\n</ol>" );
When you want to put all items in one line and separate them by commas, please use following call:
rsw_show_recent_searches( "", "", ", " );
1.2
1.1.3
1.1.2
1.1.1
1.1
rsw_show_recent_searches()
;1.0.1
1.0