WordPress.org

Ready to get started?Download WordPress

Forums

Simple search, similar to textpattern? (3 posts)

  1. jcostom
    Member
    Posted 9 years ago #

    I'm a recent convert from Textpattern. I've been enjoying the bucket of features that WP has provided over && above txp. One of the things I liked about txp was the amazingly simple search feature. In txp, you insert a tag like:

    <txp:search_input label="Search" wraptag="p" />

    in your page and whammo, you've got search. Is there an equivalent for WP that I'm missing?

  2. ifelse
    Member
    Posted 9 years ago #

    Try the following:
    <form id="searchform" method="get" action="<?php bloginfo('url'); ?>/index.php">
    <p><input type="text" name="s" size="18" value="search" /></p>
    </form>

  3. jcostom
    Member
    Posted 9 years ago #

    Phu strikes again!

    Many thanks for this simple solution...

Topic Closed

This topic has been closed to new replies.

About this Topic