• Hi,

    I recently installed WordPress and wanted to get some help on setting up the search functionality.

    I would like to set up search based on series of tag which will return some result. After looking through the documentation, It is telling me so rename index.php to searchpage.php which I did but when I look at the source code, this is all I see:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );

Viewing 3 replies - 1 through 3 (of 3 total)
  • I would like to set up search based on series of tag which will return some result.

    Yes, that’s what the search does. But I’m stuck on “on series of tag”. What do you mean by that?

    After looking through the documentation

    What documentation? Can you provide a link to it?

    Thread Starter WPNewbie14

    (@wpnewbie14)

    Thank you for responding to my post.

    I was trying to edit the question but it didn’t allow me to. What I am looking to do is have each category be in it’s own drop down box. I am using the Spacious theme and it has a dropdown box which displays the categories. I asked my question over at StackOverflow. Here is the link: STACKOVERFLOW

    All help is appreciated.

    Please let me know if you have further question.

    For what it’s worth, the default search template in WordPress is search.php. If your theme doesn’t have that template, it will fallback to index.php.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customize search function’ is closed to new replies.