Title: [Plugin: Multisite Global Search] Does not work
Last modified: August 20, 2016

---

# [Plugin: Multisite Global Search] Does not work

 *  [Treebeard](https://wordpress.org/support/users/malawimama/)
 * (@malawimama)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-multisite-global-search-does-not-work/)
 * I Activated the plugin across the Network, and using the search form in the template,
   it returns absolutely no results. I tried hacking the search form, even to include
   a hidden radio button (checked) but still nothing:
 *     ```
       <form class="ms-global-search_form" method="get" action="<?php echo get_bloginfo( 'wpurl' ).'/'.$page.'/'; ?>">
       <label for "s" class="hide">Search Terms</label><input type="text" value="Search"
       name="s" id="s"
       onblur="if (this.value == '')
       {this.value = 'Search';}"
       onfocus="if (this.value == 'Search')
       {this.value = '';}" alt="Search"  longdesc="Search this site" />
       <input type="hidden" id="searchsubmit" value="<?php _e( 'Search', 'ms-global-search' ) ?>" />
       <div style="visibility: hidden;"><input type="radio" id="ms-global-search_181444722" name="mswhere" value="all" checked='checked' /></div>
       </form>
       ```
   
 * We’re not using the widget, we have a custom form already styled in the site,
   so I don’t know what I’m missing, but if there is a way to hack the form that’s
   coded in the template that would work.. I just don’t know what else to add, to
   get the form to work. Any ideas?
 * thanks!
 * [http://wordpress.org/extend/plugins/multisite-global-search/](http://wordpress.org/extend/plugins/multisite-global-search/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [aliciagh](https://wordpress.org/support/users/aliciagh/)
 * (@aliciagh)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-multisite-global-search-does-not-work/#post-2723101)
 * Hi,
 * Sorry for the delay.
 * The Multisite Global Search form can be put in your site using the widget, inserting
   the shortcode in a page or post, or putting one of the following lines in the
   template:
 *     ```
       Multisite_Global_Search::ms_global_search_vertical_form(your_results_page)
   
       Multisite_Global_Search::ms_global_search_horizontal_form(your_results_page)
       ```
   
 * Later, you can edit the style sheet including in the plugin directory to custom
   the form.
 * Thanks for using my plugin!
    Alicia
 *  Thread Starter [Treebeard](https://wordpress.org/support/users/malawimama/)
 * (@malawimama)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-multisite-global-search-does-not-work/#post-2723102)
 * Hi aliciagh,
 * thanks for sending instructions. we ended up having to use a different plugin
   since we launched a month ago, but for future reference I’ll keep this on hand.
   I don’t understand the code that’s supposed to be added to the template, just
   that one area where it says your_results_page. Is that supposed to be in quotes?
   Why isn’t it wrapped in a <php> tag? You just add that code exactly as it appears?
   Or do you need to do anything else? Reason I ask is that some programmers forget
   to tell you that stuff and assume everyone else is a programmer 😉 I’m not, unfortunately,
   so I would just copy/paste that line above and expect it to work. Maybe that’s
   why people are reporting your plugin as Broken?
 * I haven’t tried the code above because I thought I could use the built in search
   form. I’ll give it a try next time though.
 * Also, I wouldn’t recommend updating any styles within the plugin directory, they
   will be overwritten with the next plugin update, so if anyone else is reading
   this – it’s best to add the styles to your own stylesheet.
 * Thanks!~
 *  Plugin Author [aliciagh](https://wordpress.org/support/users/aliciagh/)
 * (@aliciagh)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-multisite-global-search-does-not-work/#post-2723103)
 * Hi [@malawimama](https://wordpress.org/support/users/malawimama/),
 * It’s true, I supposed that you had some knowledge of PHP.
 * For example, this is my results page for word ‘e-learning’: [http://grial.usal.es/agora/busqueda/?mssearch=e-learning&msp=1&mswhere=all](http://grial.usal.es/agora/busqueda/?mssearch=e-learning&msp=1&mswhere=all)
 * In my case, the name of the results page is ‘busqueda’ so the code that I’ll 
   have to put in my PHP template must be:
 * `<?php Multisite_Global_Search::ms_global_search_vertical_form('busqueda') ?>`
 * About the style sheet, you are right. You can copy the style from the style sheet
   in the plugin directory and paste it in your own stylesheet.
 * Thanks a lot. I’ll update the FAQ section with this explanation.
    Alicia

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Multisite Global Search] Does not work’ is closed to new replies.

 * ![](https://ps.w.org/multisite-global-search/assets/icon-256x256.png?rev=1594489)
 * [Multisite Global Search](https://wordpress.org/plugins/multisite-global-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multisite-global-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multisite-global-search/)
 * [Active Topics](https://wordpress.org/support/plugin/multisite-global-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multisite-global-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multisite-global-search/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [aliciagh](https://wordpress.org/support/users/aliciagh/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-multisite-global-search-does-not-work/#post-2723103)
 * Status: not resolved