Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm having a strange problem with my search results page when i search i get this in the URL http://f.cl.ly/items/2Z1c1b2G1n0B3r3W063B/Screen%20Shot%202011-09-29%20at%201.21.19%20PM.png "see the X & Y" ? i don't know where do they came from & i can't seem to figure how to fix it & it breaks my pagination, so how can i fix this ?

Thanks

share|improve this question
add comment

1 Answer

You must be using an image button for your submit. It sends the x and y coordinates of where the button was clicked as well as any other get parameters. I would recommend using a standard submit button and then use CSS to replace it with an image. Alternatively if you don't know CSS a button tag with an image inside it should work eg:

<button type="submit"><img src="search-button.png" alt="search" /></button>
share|improve this answer
    
I'm using <input type="image" /> not a <button> –  ahmedelgabri Sep 29 '11 at 12:09
    
Actually using a <button> with an image inside it fixed it –  ahmedelgabri Sep 29 '11 at 12:27
    
@gabri I know it wasn't a <button> you were using initially. What I meant was if you use <input type="image" /> it will send the X & Y corodinates of where you clicked on the image input as GET parameters. –  sanchothefat Oct 5 '11 at 9:40
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.