• Search box doesn’t work AT ALL! I can’t even input any information in the box. Please help!

    Site is http://dailypaleo.org

    (I’m still building the site, hence nearly no content).

    Search box is right in the header. The code is as follows:

    <div class="top-search clearfix">
    <h3 class="head-pet"><span><?php _e('Recipe Search', 'FoodRecipe');?></span></h3>
    <form action="<?php echo home_url(); ?>" id="searchform">
    <p>
    		<input type="text" name="s" id="s" class="field" value="<?php _e('Search for', 'FoodRecipe');?>" />
    		<input type="submit" name="s_submit" id="s-submit" value="" />
    </p>
    </form>
    <p class="statement"><span class="fireRed"><?php _e('Recipe Types', 'FoodRecipe');?>:</span>
    <?php
    	$terms = get_terms("recipe_type");
    
    	$count = count($terms);
    
    	if ( $count > 0 ){
    			/*if($count > 5)
    				$the_limit = 5;
    			else*/
    			$the_limit = $count;
    			foreach ( $terms as $term ) {
    				?>
    					<a>slug, 'recipe_type'); ?>"><?php echo $term->name; ?></a>
    				<?php
    				$the_limit--;
    				if($the_limit < 1) { break; } else { echo ', '; }
    			}
    	}
    ?>
    </p>		</div>

    `

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Search box doesn't work at ALL! User can't input any information’ is closed to new replies.