{"id":70,"date":"2005-08-27T13:30:12","date_gmt":"2005-08-27T03:30:12","guid":{"rendered":"http:\/\/www.thunderguy.com\/semicolon\/search-meter-wordpress-plugin\/"},"modified":"2026-01-23T15:38:17","modified_gmt":"2026-01-23T02:38:17","slug":"search-meter-wordpress-plugin","status":"publish","type":"page","link":"https:\/\/thunderguy.com\/semicolon\/wordpress\/search-meter-wordpress-plugin\/","title":{"rendered":"Search Meter: a WordPress plugin"},"content":{"rendered":"<p><em>Latest version is 2.14.1, released on 3 December 2025.<\/em><\/p>\n\n<p>Search Meter is a <a href=\"http:\/\/wordpress.org\/\">WordPress<\/a> plugin that helps you keep your site focused on what your visitors want to read. It does this by keeping track of what your visitors are searching for.<\/p>\n\n\n\n<p>If you have a Search box on your site, Search Meter automatically records what people are searching for &#8212; and whether they are finding what they want. Search Meter&#8217;s admin interface shows you what people have been searching for in the last couple of days, and in the last week or month. It also shows you which searches have been unsuccessful. If people search your site and get no results, they&#8217;ll probably go elsewhere. With Search Meter, you&#8217;ll be able to find out what people are searching for, and give them what they want by creating new posts on those topics.<\/p>\n\n\n\n<p>Search Meter includes a Dashboard widget so you can see the last week of searches right on your WordPress Dashboard.<\/p>\n\n\n\n<p>You can also show your readers what the most popular searches are. The Popular Searches block displays a configurable list of recent popular successful search terms on your site, with each term hyperlinked to the actual search results. There&#8217;s also a Recent Searches block, which simply displays the most recent searches. For older WordPress themes or installations, these functions are also available as widgets and template tags.<\/p>\n\n\n\n<p>Search Meter installs easily and requires no configuration. Just install it, activate it, and it starts tracking your visitors&#8217; searches. Here&#8217;s a screenshot of the Search Meter dashboard, showing some of the reports you&#8217;ll get.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"514\" src=\"http:\/\/www.thunderguy.com\/semicolon\/wp\/wp-content\/uploads\/2005\/08\/screenshot-1.gif\" alt=\"Search Meter dashboard\" class=\"wp-image-588\" title=\"Search Meter dashboard\" srcset=\"https:\/\/thunderguy.com\/semicolon\/wp\/wp-content\/uploads\/2005\/08\/screenshot-1.gif 659w, https:\/\/thunderguy.com\/semicolon\/wp\/wp-content\/uploads\/2005\/08\/screenshot-1-300x233.gif 300w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Compatibility<\/h2>\n\n\n\n<p>Search Meter is updated as necessary whenever new WordPress versions come out. The <a href=\"https:\/\/wordpress.org\/plugins\/search-meter\/\">Search Meter page<\/a> at the WordPress Plugins Directory has the latest compatibility information.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install<\/h2>\n\n\n\n<p>Log in to your WordPress administration console. Under Plugins, select Add New. Type <em>Search Meter<\/em> in the box and the rest should be easy.<\/p>\n\n\n\n<p>You can also <a href=\"https:\/\/wordpress.org\/plugins\/search-meter\/\">download the Search Meter files from the WordPress Plugin Directory<\/a>. You can download older version of the plugin, or check the development version for the latest unreleased goodies.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">View Statistics<\/h2>\n\n\n\n<p>To see your search statistics, Log in to WordPress Admin, go to the Dashboard section and click Search Meter. You&#8217;ll see the most popular searches in the last day, week and month. Click &#8220;Last 100 Searches&#8221; or &#8220;Last 500 Searches&#8221; to see lists of all recent searches.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Manage Statistics<\/h2>\n\n\n\n<p>There are a couple of management option available if you go to the Settings section and click Search Meter. Use the Reset Statistics button to clear all past search statistics; Search Meter will immediately start gathering fresh statistics. If you&#8217;re technically-minded, you might want to check the &#8220;Keep detailed information&#8221; checkbox to make Search Meter save technical information about every search (the information is taken from the HTTP headers).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Popular and Recent Searches<\/h2>\n\n\n\n<p>The <strong>Popular Searches<\/strong> block displays a list of the most popular successful search terms on your site during the last 30 days. The <strong>Recent Searches<\/strong> block displays a simple list of the most recent successful search terms. In both cases, the search terms in the lists are hyperlinked to the actual search results; readers can click the search term to show the results for that search. For each block you can configure the text colour and size, the title, and the maximum number of searches to display.<\/p>\n\n\n\n<p>To add these blocks to your page, log in to WordPress, then go to the page you want to add them to. Click <strong>Edit Site<\/strong> to go to the page editor. You can add a block, and you&#8217;ll be able to add the Popular Searches and Recent Searches blocks, and customize them as you wish.<\/p>\n\n\n\n<p>The blocks only display successful searches, so they will only display words that actually appear in your site. If you still want to prevent some of these words appearing in the blocks, you can add search filter words in the Search Meter settings page.<\/p>\n\n\n\n<p>The title will be a standard size and the same colour as the rest of the block. If you want its appearance to be different, you can leave it blank to omit it. Then you can just add a Heading block above the Search Meter block, and configure it however you like.<\/p>\n\n\n\n<p>If your WordPress installation does not support Blocks, then you should be able to use the Search Meter widgets instead &#8212; they work pretty much the same as the blocks. And if you&#8217;re prepared to edit your theme files, you can always use the Search Meter template tags.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Template Tags<\/h2>\n\n\n\n<p>It&#8217;s better to use the Blocks or Widgets if you can. But if you really want (or need) to use the template tags, here are the details.<\/p>\n\n\n\n<p>The <code>sm_list_popular_searches()<\/code> template tag displays a list of the 5 most popular successful search terms on your site during the last 30 days. Each term is a hyperlink; readers can click the search term to show the results for that search. Here are some examples of using this template tag.<\/p>\n\n\n\n<p><code>sm_list_popular_searches()<\/code><br>Show a simple list of the 5 most popular recent successful search terms, hyperlinked to the actual search results.<\/p>\n\n\n\n<p><code>sm_list_popular_searches('&lt;h2&gt;Popular Searches&lt;\/h2&gt;')<\/code><br>Show the list as above, with the heading &#8220;Popular Searches&#8221;. If there have been no successful searches, then this tag displays no heading and no list.<\/p>\n\n\n\n<p><code>sm_list_popular_searches('&lt;li&gt;&lt;h2&gt;Popular Searches&lt;\/h2&gt;', '&lt;\/li&gt;')<\/code><br>Show the headed list as above; this form of the tag should be used in the default WordPress theme. Put it in the <code>sidebar.php<\/code> file.<\/p>\n\n\n\n<p><code>sm_list_popular_searches('&lt;code&gt;&lt;li&gt;&lt;h2&gt;Popular Searches&lt;\/h2&gt;', '&lt;\/li&gt;'<\/code>, 10)<\/code><br>This is the same as the above, but it shows the 10 most popular searches.<\/p>\n\n\n\n<p><code>sm_list_recent_searches()<\/code><br>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 <code>sm_list_popular_searches<\/code> tag.<\/p>\n\n\n\n<p>If you add these to your theme, wrap them in a <code>function_exists<\/code> call so your theme won&#8217;t break if you deactivate Search Meter. It should look something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>if (function_exists('sm_list_popular_searches')) {\n    sm_list_popular_searches();\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Problems, questions or requests?<\/h2>\n\n\n\n<p>If your WordPress installation is (very) old, you may be affected by a WordPress bug that stops multi-word search links from working in Recent Searches or Popular Searches. For more information and a way to fix the problem, see my <a href=\"http:\/\/www.thunderguy.com\/semicolon\/2011\/06\/08\/search-fixer-wordpress-plugin\/\">Search Fixer<\/a> plugin to ensure the search links always work.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Contribute<\/h2>\n\n\n\n<p>The source code is maintained on the <a href=\"https:\/\/github.com\/bennettmcelwee\/Search-Meter\">Search Meter github repository<\/a>. You know the drill: fork, hack, send a pull request, and bask in the warm glow of satisfaction that is open source.<\/p>\n\n\n\n<p>If you find any problems, please let me know by leaving a comment at the bottom of this page. You can also leave a comment if you have any questions about how it works, or if you would like to request a feature.<\/p>\n<p>I write these WordPress plugins because I enjoy doing it, but it does take up a lot\r\nof my time. If you think this plugin is useful, please consider donating some appropriate\r\namount.<\/p>\r\n\r\n<div style=\"float: left; padding: 0.25em 1em 0.5em 0; margin: 1em 0 0 0;\">\r\n<form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\">\r\n<div>\r\n<input type=\"hidden\" name=\"cmd\" value=\"_s-xclick\" \/>\r\n<input type=\"image\" src=\"https:\/\/www.paypal.com\/en_US\/i\/btn\/x-click-but04.gif\" style=\"border:none\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\" \/>\r\n<input type=\"hidden\" name=\"encrypted\" value=\"-----BEGIN PKCS7-----MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYA7BglQn0K1FJvdqm+zAop0IFZb02mJnn56wpZYpbqWE6go360iySXAwUS8eMEMSxp2\/OUmWh6VQzm07kEP0buqLG0wwi4yOwawTYB2cahVUPadwYA+KyE78xQI4plMGO1LRchjNdVPkjFuD5s0K64SyYOwtCPYOo\/Xs1vZPbpH\/zELMAkGBSsOAwIaBQAwgdwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIP5kNv+75+iKAgbhN2BQBAd0BiS1W5qaECVs\/v8Jqdoe\/SVb+bykh9HucP\/8+tYncHVffnDf0TAMxdjlQT65QdNc8T8FGDDhQZN8BwWx2kUwFgxKPBlPvL+KFWcu50jrBsyFsK9zLM260ZR6+aA9ZBdgtMKwCBk\/38bo6LmUtZ5PM+LSfJRh3HtFoUKgGndaDYl\/9N4vhK2clyt0DaQO3Mum8DTXwb57Aq8pjQPwsUzWl3OqZdZEI+YXJX4xxQIHkKAsSoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZ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TDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMDYwMjA3MTEyOTQ5WjAjBgkqhkiG9w0BCQQxFgQUO31wm3aCiCMdh2XIXxIAeS8LfBIwDQYJKoZIhvcNAQEBBQAEgYB3CtAsDm+ZRBkd\/XLEhUx0IbaeyK9ymOT8R5EQfSZnoJ+QP05XWBc8zi21wSOiQ8nH9LtN2MtS4GRBAQFU1vbvGxw6bG2gJfggJ1pDPUOtkFgf1YA8At+m2I6G2E+YWx2\/QHdfMo3BpTJWQOUka52wjuTmIX9X6+CFMPokF91f0w==-----END PKCS7-----\r\n\" \/>\r\n<\/div>\r\n<\/form>\r\n<\/div>\r\n<p>Click here to donate using a credit card or PayPal.<\/p>\r\n\r\n<p style=\"clear:left\">\r\n<img decoding=\"async\" src=\"http:\/\/www.thunderguy.com\/semicolon\/wp\/wp-content\/uploads\/2011\/06\/BC_Rnd_32px.png\" style=\"float: left; padding: 0.25em 1em 0.5em 0; margin: 0;\" \/>\r\nSend <a href=\"http:\/\/bitcoin.org\/\">Bitcoins<\/a> to address<br \/>\r\n<tt>1542gqyprvQd7gwvtZZ4x25cPeGWVKg45x<\/tt><\/p>\r\n<h2>Full WordPress plugin list<\/h2>\n<ul class=\"plugin-list\">\n\r\n\t\r\n\t<!--\r\n\tchild_of=47&title_li=&sort_column=post_title\r\n\t-->\r\n\t\r\n\t<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/code-markup-wordpress-plugin\/\" title=\"Code Markup: a WordPress plugin\">Code Markup<\/a> &#8212; Quickly paste code samples into your posts -- you can even include HTML markup in the code sample.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/evermore-wordpress-plugin\/\" title=\"Evermore: a WordPress plugin\">Evermore<\/a> &#8212; Automatically display a short preview of your posts on the home page and other multiple-post pages, along with a link to the full post.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/fixback-wordpress-plugin\/\" title=\"FixBack: a WordPress plugin\">FixBack<\/a> &#8212; Ensure trackbacks and pingbacks are sent with the correct link back to your blog.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/less-wordpress-plugin\/\" title=\"Less: a WordPress plugin\">Less<\/a> &#8212; Less is no more. It has been renamed to Seemore and moved to its own <a href=\"http:\/\/www.thunderguy.com\/semicolon\/wordpress\/seemore-wordpress-plugin\/\">Seemore plugin page<\/a>.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/plaintext-wordpress-plugin\/\" title=\"Plaintext: a WordPress plugin\">Plaintext<\/a> &#8212; Allow your readers to download source files (e.g. PHP, HTML, ASP) as plain text.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/safe-title-wordpress-plugin\/\" title=\"Safe Title: a WordPress plugin\">Safe Title<\/a> &#8212; Use HTML in post titles in the default WordPress theme (or any other theme).<\/li>\r\n<li class=\"page_item current_page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/search-meter-wordpress-plugin\/\" title=\"Search Meter: a WordPress plugin\">Search Meter<\/a> &#8212; Find out what people are searching for on your blog, so you can write what your visitors want to read.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/seemore-wordpress-plugin\/\" title=\"Seemore: a WordPress plugin\">Seemore<\/a> &#8212; Change the (more...) link so it jumps to the full post, not just the part after the link.<\/li>\r\n<li class=\"page_item\"><a href=\"https:\/\/thunderguy.com\/semicolon\/wordpress\/top-cat-wordpress-plugin\/\" title=\"Top Cat: a WordPress plugin\">Top Cat<\/a> &#8212; Specify a main category for your posts, and use template tags to display posts differently according to their main category.<\/li>\r\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Latest version is 2.14.1, released on 3 December 2025. Search Meter is a WordPress plugin that helps you keep your site focused on what your visitors want to read. It does this by keeping track of what your visitors are searching for. If you have a Search box on your site, Search Meter automatically records [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":47,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-70","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/pages\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":25,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/pages\/70\/revisions"}],"predecessor-version":[{"id":771,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/pages\/70\/revisions\/771"}],"up":[{"embeddable":true,"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/pages\/47"}],"wp:attachment":[{"href":"https:\/\/thunderguy.com\/semicolon\/wp-json\/wp\/v2\/media?parent=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}