What’s wrong with my usage of add_filter

I cleaned up your code, and put all the header information for installing it. Your plugin works fine, I tested it! /* Author: whoever Plugin Name: Some Name Plugin URI: Text Domain: some-domain Version: 1.0 */ function DynamiteSearch($form) { $form = “<form method = ‘get’ id = ‘searchform’ action = ‘ “.site_url().” ‘ >”; $form … Read more

How to add search form in main page body?

I just wanted to add two small things for other peoples…. if your template supports it you can just add : <?php include (TEMPLATEPATH . ‘/searchform.php’); ?> 2.adding the following code will put a text inside the search box. (like “Write your search and hit Enter” ) <form method=”get” id=”searchform” action=”<?php bloginfo(‘home’); ?>/”> <div><input type=”text” … Read more