Can you try to rephrase that?
He wants his search to function similarly to the search on there forums. Notice that when you search the forums, at the bottom of the search page there is a link to also search via Google or Yahoo. This link is all ready constructed so that clicking it will specifically do a search of these forums with the search term.
I’m also curious if anyone knows about this.
Thread Starter
hihi
(@hihi)
Thanks to everyone, that’s right moshu but what i want is to be exactly like the wordpress forum style. you search within the site search box then also you can just press a link to google if you want more search within your site. so i want the same strategy which used in the wordpress forum.
I know what you mean. I ca make it work if I know the php value the the search outputs on the search results page.
Regards
Marzar
Thread Starter
hihi
(@hihi)
but are you sure that this code is the same as in the wordpress forum
hihi – only Matt has access to the raw code, but I’m sure Beel’s code is pretty damn good. It does not need to be exactly the same to work the same.
Thread Starter
hihi
(@hihi)
is this code search within my site only or with the site and the web
Thread Starter
hihi
(@hihi)
where i should place it i want it under word press search bar do i place it in the index.php
Thread Starter
hihi
(@hihi)
Hi beel i placed your code but the images doesn’t appear for google and yahoo another thing that this code is like link opens google site and yahoo site and that’s not what i want. what i want is when aperson search with my site search then he didn’t find the result he /she can press google button so he/she can find more result about my site in the google search engine
Anonymous
I guess what hihi wants would be to include the site search…
site:his_URI <?php echo $s; ?>”>
but I am not a coder π
ah, that was me…
what I meant
site:his_URI <?php echo $s; ?>">
(you can really see I am bad at writing code, LOL)
sh***
the strong doesn’t work in code – I should have known that!
Thread Starter
hihi
(@hihi)
Beel and hihi,
I think you guys are still talking about 2 (two) different things π
1. What you have, Beel, is to enable a search on the entire web by Google – using the keyword typed initially in your WP search box…
2. And what hihi wants is a site search done by Google with the keyword (as is the case when we click the Google link on the WP search result page).