WordPress.org

Forums

Search Box to search another blog/site.. (4 posts)

  1. Jaya
    Member
    Posted 4 years ago #

    Hi!

    I have 3 websites. A, B and C.

    What i'm trying to achieve is have C contain search boxes that search A and B. if you search on the search box for site A you'd be directed to a new page showing the results of that website. same with site B.

    I hope it makes sense. I think it's just a small modification to my current search form but I don't know what to edit to achieve this result.

    Here is my search box code:

    <form method="get" id="search-plus" class="searchbox alignright" action="<?php bloginfo('home'); ?>" >
    		<input id="search-box-plus" type="text"  name="s"  value=" Enter keywords.. " onfocus="this.value=(this.value==' Enter keywords.. ') ? '' : this.value;" onblur="this.value=(this.value=='') ? ' Enter keywords.. ' : this.value;"/>
    		<input type="submit"  value="Search!" id="searchbutton-plus"/>
    	</form>

    Thank you in advance!

  2. Jaya
    Member
    Posted 4 years ago #

    Any help would be highly appreciated!

  3. Jaya
    Member
    Posted 4 years ago #

    Help!

  4. DrowSserp
    Member
    Posted 4 years ago #

    Did you find a solution for this? I'm looking around for something similar myself. How To use a search box on Site B to search Site A. The Site B search can link surfer to Site A for search results, doesn't have to display them on Site B.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.