The MU forums have moved to WordPress.org

What is required for search function? (4 posts)

  1. mburp
    Member
    Posted 18 years ago #

    I'm sure this is a newbie's question. I'm setting up a WordPressMu installation at http://uninaplo.unitarius-halo.net . Most of my themes have search boxes in the sidebar, but the searches never produce results. What more is required? Do I need to install a particular plug-in or reconfigure something in Mu itself?

    Any help will be appreciated,

    michael

  2. dsader
    Member
    Posted 18 years ago #

    Find the searchform in a theme; sidebar usually, but header, footer, index as well.

    replace

    <form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">

    with

    <form method="get" id="searchform" action="<?php echo get_bloginfo('url'), $_SERVER['PHP_SELF']; ?>">
  3. Konstan
    Member
    Posted 18 years ago #

    Oh, this post made me remember I have to do this as well :)

    For all the templates :(

  4. mburp
    Member
    Posted 18 years ago #

    Thanks for your help. I should mention that on a closer look most of the themes (from wpmudev.org) were okay, but for those that weren't your fix did the job.

    Thanks again,

    Michael

About this Topic