You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Displaying your search in a page rather than sidebar?

UserPost

5:13 pm
December 30, 2007


Ginna

Guest

This is great … just what I needed, and it works like a charm. Thanks.

Question: I want my search box to be on a page instead of in the sidebar. I've read the WP codex about building a search page but I'm not savvy enough to figure out how to make that work with your search. Is that a question you can answer, or is that for another forum?

Can I just build a new page from the WP admin panel and slap a little code snippet into it, guiding users to your search_pages.php, or is it more complicated than that?

Thanks for your great work!!

[FYI, here's where I'm wanting to get this to work: www.wormlips.com

Ginna 

3:52 am
December 31, 2007


Jean-Luc

Admin

posts 1125

The code for the search box is:

<?php
  include (TEMPLATEPATH . '/searchform.php');
?>

You can add it in any part of your theme.

Creating a Search Page is a WordPress article that explains how to create and customize your search page. You don't need to do anything special here to support our Search Pages plugin.

Jean-Luc

7:50 pm
December 31, 2007


Ginna

Guest

Thanks!  Happy new year.


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)