WordPress.org

Ready to get started?Download WordPress

Forums

Search issue (4 posts)

  1. mvanboordt
    Member
    Posted 1 year ago #

    Hi,

    I have a little problem with my search function.

    It works. Except when a user clicks on the search button without filling in the form.

    In the address bar I see the following:
    http://www.xxx.nl/themename/?submit.x=12&submit.y=15&s=

    I have no idea what the x and y values are and I can't seem to find them anywhere in the code.
    The s value is the value typed in the form.

    Any other way works. If I fill out the form with content that can be found it shows the content and if I fill in the form with content that can't be found it shows a message that the content can't be found.

    I based the search function upon the twenty eleven templates.

    I hope anybody can help me with this.

    M.

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Which theme are you using?

  3. mvanboordt
    Member
    Posted 1 year ago #

    I create my own theme.

  4. mvanboordt
    Member
    Posted 1 year ago #

    I forgot to mention what happens.

    If the user clicks the search button without the form filled in the page that is loaded is based upon my default template and shows all pages that are listed in the upper level from the website.

    However I told the search-template to use a different template. So it looks like it makes a combination of the two templates.

Topic Closed

This topic has been closed to new replies.

About this Topic