Search Posting in Wrong Part of Page
-
Hi,
I have what I believe is the standard WordPress search form template being called in my sidebar. The template code is such:<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <div><input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" /> <input type="submit" id="searchsubmit" value="Search" /> </div> </form>
The problem I have is it posts the search results in the same container the search form is in. This is fine on my archives page, it posts the results in the main content area. But I don’t want search results from the sidebar to post in the sidebar. Is there any way to remedy this? Thank You.
- The topic ‘Search Posting in Wrong Part of Page’ is closed to new replies.