Support » Themes and Templates » Validation error?!

  • Resolved Scofield


    Hello all, I need little help with WP validation.

    Validation Output: 1 Error
    <form role=”search” method=”get” id=”searchform” action=”/” >

    I use this code in my template
    <?php get_search_form(); ?>

    Please help me how to fix this 🙁 Thanks !

Viewing 2 replies - 1 through 2 (of 2 total)
  • You’ll need to create your own searchform.php template in your theme. Simply copy the output from the default form, paste it into a blank plain text file, remove role="search" then save the file as searchform.php and upload it to your theme. It will then be called automatically when you use <?php get_search_form(); ?>.

    Thank you very much esmi 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Validation error?!’ is closed to new replies.