sm_list_popular_searches()
Show a simple list of the 5 most popular recent successful search terms, hyperlinked to the actual search results.
sm_list_popular_searches('<h2>Popular Searches</h2>')
Show the list as above, with the heading “Popular Searches”. If there have been no successful searches, then this tag displays no heading and no list.
sm_list_popular_searches('<li><h2>Popular Searches</h2>', '</li>')
Show the headed list as above; this form of the tag should be used in the default WordPress theme. Put it in the sidebar.php file.
sm_list_popular_searches('<li><h2>Popular Searches</h2>', '</li>', 10)
This is the same as the above, but it shows the 10 most popular searches.
sm_list_recent_searches()
Show a simple list of the 5 most recent successful search terms, hyperlinked to the actual search results. You can also use the same options as for the sm_list_popular_searches tag.