General Community > Scripting Help

Wordpress Smf Search.

(1/1)

Devicon:
I wanted to edit the wordpress search bar function to search the Smf site rather then the Wordpress site. Does anyone know how to do this?

Ricky.:
It should be as simple as replacing your WP search bar with following:

--- Code: --- <form accept-charset="UTF-8" method="post" action="http://YOUR-SMF-Installation-URL/index.php?action=search2" id="search_form">
<input type="text" class="input_text" value="" name="search">&nbsp;
<input type="submit" class="button_submit" value="Search" name="submit">
<input type="hidden" value="0" name="advanced"></form>
</div>
--- End code ---
Try it and let us know..

Devicon:
Where would i place/replace this at?

Ricky.:
In your wordpress template file.

Navigation

[0] Message Index

Go to full version