Global Site Search

Powerful post search that extends across every site on your WordPress Multisite or BuddyPress network.

Version 3.2.2

  • Fixed: .po and .mo files for translation

Changelog

July 21, 2014 - version 3.2.2
  • Fixed: .po and .mo files for translation

April 17, 2014 - version 3.2.1
  • Corrected reported issue to stripslashes on search phrase in pager links

February 24, 2014 - version 3.2
  • Implemented ability to override form and search result templates.
  • Fixed issue with search form submission issue when global site search is located at sub-site
  • Fixed search page auto creation issue

January 15, 2014 - version 3.1.0.1
  • Fixed issue with loading wrong widgets script.

January 15, 2014 - version 3.1
  • Implemented ability to select on which blog to show global site search.
  • Fixed content stripping issue for multi-byte sites.

November 26, 2013 - version 3.0.3
  • Removed shortcodes from search results.
  • Changed submit method from POST to GET for search form.

November 21, 2013 - version 3.0.2
  • Fixed security issue

May 22, 2013 - version 3.0.1
  • Added fix for UTF8 characters in search urls for pagination

March 18, 2013 - version 3
  • Rewrite of Global Site Search
  • - moved to use post indexer 3
  • - updated to use better rewrite rules
  • - updated to use better pagination
  • - removed a lot of un-needed code

September 16, 2011 - version 2.1.1
  • Fixed: Rewrite rules issue

May 13, 2011 - version 2.1
  • Added post type selection in Global Site Search options
  • Filters search results on post_type
  • Requires minimum of version 2.1 of the post-indexer plugin

April 10, 2011 - version 2.0.1
  • Add Update Notification code, plugin description and URI
  • Widget

December 4, 2009 - version 1.0.4

    December 3, 2009 - version 1.0.3

      October 23, 2009 - version 1.0.2

        September 28, 2009 - version 1.0.1

          September 3, 2009 - version 1

            Downloads 21,855

            Compatibility Multisite 4.2.2 BuddyPress 2.2.3.1

            global site search taps the power of Post Indexer to enable a powerful network-wide post search.

            Multisite and BuddyPress give no way to search through blogs across an entire network.

            Blazing fast results

            Global Site Search utilizes our powerful Post Indexer plugin, that indexes all the posts across every site on your network, to create a blazing fast search of your entire network.

            This plugin automatically adds a ‘Site Search’ page where guests and users can search through posts from every blog on the network.

            Simple design to fit every theme

            Display blog avatars in the search results for a more sophisticated feel.

            No coding needed to get clean results

            Search your entire network

            Add a powerful network-wide search tool to Multisite or BuddyPress in seconds and give users a new way to find and discover content on your network.

            To Get Started:

            Start by reading the Installing Plugins section in our comprehensive WordPress and WordPress Multisite Manual if you are new to WordPress.

            Important Notes:

            • If you have an older version of this plugin installed in your /mu-plugins/ folder, please delete it.
            • This plugin requires our Post Indexer plugin in order to work. Please install & configure Post Indexer first if you haven’t already done so!
            • This plugin only searches posts on public blogs — any posts on private blogs (only visible to logged in users) aren’t searchable.
            • To display avatars, you will either need a theme with that feature built-in, or use our Avatars plugin, or use BuddyPress.

            Once installed and network-activated, you’ll find the settings under Settings > Network Settings in your network admin.

            Global Site Search Menu

            To Configure

            Scroll down on the Network Settings screen until you see the Site Search section.

            Global Site Search Settings

            Select the number of listings you want to display per page (i.e. the number of posts displayed) and adjust the color scheme if you want to.

            Then choose which post types you’d like the plugin to search for.

            • Note that you can either select one post type, or all post types.

            To Use

            The plugin will auto-create a page called “Site Search” on your main blog where anyone can search through all your blogs.

            Global Site Search Page

            There is also a widget that can be used in any sidebar. Here’s what the widget looks like in the Twenty-Fourteen theme.

            Global Site Search Widget

            To search for posts across your entire network, simply add your search term and click Search.

            Global Site Search Results

            Voilà! Whether searching from the Site Search page or the widget, search results from all blogs in your network will display nicely paginated on the Site Search page.

            Additional Customization Options

            If the layout & styling doesn’t quite fit with look & feel of your site, you can override the plugin default templates in your theme.

            First locate the /templates/ folder in the plugin download. Inside you will find 2 files:

            • global-site-search.php – Displays the search results.
            • global-site-search-form.php – Displays the search form.

            Simply copy those files to the root of your theme to modify them as you wish. Be careful not to remove any functions though.

            If you prefer to display the site search form and results on a sub-site in your network instead of on the main site, add the following constant to your wp-config.php file:

            define( 'GLOBAL_SITE_SEARCH_BLOG', 1 );

            Remember to change the number to the ID of your sub-site. Note that this will also make the Site Search widget available on that sub-site.

            We hope you enjoy using Global Site Search. If you have any issues with use or configuration, or have a feature request, please drop by our community forums where support staff and other members are standing by to lend a hand.