{"id":129047,"date":"2020-09-25T10:06:01","date_gmt":"2020-09-25T10:06:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/solo-search\/"},"modified":"2025-12-02T18:21:25","modified_gmt":"2025-12-02T18:21:25","slug":"solo-search","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/solo-search\/","author":307954,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.9.4","requires":"4.6","requires_php":"7.4","requires_plugins":null,"header_name":"Solo","header_author":"David Artiss","header_description":"\ud83d\udd0d Instantly display a single search result","assets_banners_color":"","last_updated":"2025-12-02 18:21:25","external_support_url":"","external_repository_url":"https:\/\/github.com\/dartiss\/solo","donate_link":"https:\/\/artiss.blog\/donate","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/solo-search\/","header_author_uri":"https:\/\/artiss.blog","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1589,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1":{"tag":"0.1","author":"dartiss","date":"2020-09-25 10:05:43"},"0.2":{"tag":"0.2","author":"dartiss","date":"2020-11-27 14:45:31"},"1.0":{"tag":"1.0","author":"dartiss","date":"2023-10-19 19:05:37"},"1.0.1":{"tag":"1.0.1","author":"dartiss","date":"2024-03-20 22:28:46"},"1.1":{"tag":"1.1","author":"dartiss","date":"2025-12-02 18:21:25"}},"upgrade_notice":{"1.1":"<ul>\n<li>No new features but a big shake-up of the code layout<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3074232,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2427324,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3027752,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3408374,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/options-general.php\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"solo-search\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":[],"tagged_versions":["0.1","0.2","1.0","1.0.1","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3027752,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The settings that are available"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[25931,944,9281,58389,1460],"plugin_category":[],"plugin_contributors":[78579],"plugin_business_model":[216239],"class_list":["post-129047","plugin","type-plugin","status-publish","hentry","plugin_tags-result","plugin_tags-search","plugin_tags-single","plugin_tags-solo","plugin_tags-title","plugin_contributors-dartiss","plugin_business_model-community","plugin_committers-dartiss"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/solo-search\/assets\/icon.svg?rev=3027752","icon":"https:\/\/ps.w.org\/solo-search\/assets\/icon.svg?rev=3027752","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/solo-search\/assets\/screenshot-1.png?rev=3027752","caption":"The settings that are available"}],"raw_content":"<!--section=description-->\n<p>You know when you search for something on a site and it finds just one result? You then have to click into it to display it. That's annoying. It's also adding an extra page load which is not necessary.<\/p>\n\n<p>And what about if you search for an exact match for a title and, well, it serves it up along with a number of other possible results. Hey, why didn't you just show me the one that I typed the name of in exactly? Well, you can do that too. Cool, eh?<\/p>\n\n<p>This plugin simply removes this middle step - if your search returns one result or you type in the name of a title, it will be shown in all its post\/page (delete as appropriate) glory. As well as a quicker answer for your visitor, removing this improves your site's sustainability (okay, just a little... but every little helps, right?).<\/p>\n\n<p>The code also passes WordPress and WordPress VIP coding standards. Because you're worth it.<\/p>\n\n<p>Thanks to my co-worker <a href=\"https:\/\/profiles.wordpress.org\/trepmal\/\">Kailey<\/a> for <a href=\"https:\/\/trepmal.com\/2011\/04\/22\/redirect-when-search-query-only-returns-one-match\/\">the original code<\/a>, which I've been happily using on my own site for many years. I thought it was time to share the \u2665\ufe0f.<\/p>\n\n<p>Iconography is courtesy of the very talented <a href=\"https:\/\/www.fiverr.com\/jankirathore\">Janki Rathod<\/a>.<\/p>\n\n<p><strong>Please visit the <a href=\"https:\/\/github.com\/dartiss\/solo\" title=\"Github\">Github page<\/a> for the latest code development, planned enhancements and known issues<\/strong><\/p>\n\n<!--section=installation-->\n<p>Solo can be found and installed via the Plugin menu within WordPress administration (Plugins -&gt; Add New). Alternatively, it can be downloaded from WordPress.org and installed manually...<\/p>\n\n<ol>\n<li>Upload the entire <code>solo-search<\/code> folder to your <code>wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress administration.<\/li>\n<\/ol>\n\n<p>It's now ready to go. By default, not all features are active - head to Settings -&gt; General -&gt; Solo for all the options.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20do%20you%20have%20to%20switch%20on%20the%20%22exact%20match%22%20option%3F'><h3>Why do you have to switch on the \"exact match\" option?<\/h3><\/dt>\n<dd><p>Because, if you're using pretty generic titles (e.g. \"Twitter\") then you may not want this behavior.<\/p>\n\n<p>Let me explain.<\/p>\n\n<p>On my own site (artiss.blog - always a good read. Never dull. Please subscribe), I often use short, single names for pages. \"About\", \"Blog\", that kind of thing. For my posts, however, I use something long and descriptive. For example, \"See what the stars of The Banana Splits look like now. Number 3 will amaze you\". For this reason, I have exact matching switched off for pages but on for posts - if someone types in that post title than they are very welcome to have it served straight up to them.<\/p><\/dd>\n<dt id='for%20the%20%22exact%20match%22%20feature%2C%20it%20only%20works%20for%20posts%20and%20pages.%20can%20i%20add%20additional%20taxonomies%3F'><h3>For the \"exact match\" feature, it only works for posts and pages. Can I add additional taxonomies?<\/h3><\/dt>\n<dd><p>What kind of monster are you?<\/p>\n\n<p>But, seriously, not at the moment. But if this interests you, please let me know!<\/p><\/dd>\n<dt id='do%20you%20support%20this%20plugin%20on%20forks%20of%20wordpress%3F'><h3>Do you support this plugin on forks of WordPress?<\/h3><\/dt>\n<dd><p>No. It was developed for WordPress and so forks remain unsupported. I have no intention of developing and testing this on any other version.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>I use semantic versioning, with the first release being 0.1.<\/p>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Enhancement: The code was getting quite big so I've split it into a number of files, with a control file bringing them all together. It's a big change, so required a bigger jump in revision, despite there being no visible changes.<\/li>\n<li>Enhancement: Also added some spit and polish across the code and README more generally<\/li>\n<li>Enhancement: Added an uninstaller file to get rid of any cruft when you remove the plugin (not that you'd ever do that of course!)<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Enhancement: Improved code quality<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Enhancement: You didn't ask for it, but you got it anyway - the search will now display content if you search for an exact match on the title<\/li>\n<li>Enhancement: Settings now allow you to turn each of the options on and off, to your likely. You can switch them all of, if you want, although that's a waste of an active plugin, if we're being honest<\/li>\n<li>Enhancement: Added a link in the plugin meta so you can go straight to the settings. Because I care<\/li>\n<li>Maintenance: Various tweaks and fiddles, some of which may even be legal<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bug: Fixed text domain<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Instantly display a single search result.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/129047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=129047"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dartiss"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=129047"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=129047"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=129047"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=129047"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=129047"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=129047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}