I’m using the default search bar for the forever theme at bakeologybylisa.com with the swiftype plugin. I also use feedburner to allow people to subscribe for email updates. The problem is, when you type something into the search form and hit enter to search, it redirects to the feedburner form (so when you hit enter, a feedburner confirmation pops up). This is the code in my searchform.php file:
<form method="get" id="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <label for="s" class="assistive-text"><?php _e( ' ', 'forever' ); ?></label> <input type="text" class="field" name="s" id="s" placeholder="<?php esc_attr_e( ' ', 'forever' ); ?>" /> <input type="submit" class="submit" name="submit" id="searchsubmit" value="<?php esc_attr_e( ' ', 'forever' ); ?>" /> </form>
This is a problem whether or not the swiftype plugin is installed (and whether or not any plugins are installed, for that matter), and it doesn’t happen with other themes. Can anyone help me fix this?
- The topic ‘search form not working’ is closed to new replies.