Dynamic Function with WP Cache
-
Forgive me for my ignorance, but Ive been annoying people all over the web trying to figure out how to keep my search function dynamic once I use WP Cache on my site.
This was the code I was using to run my search function prior to installing wpcache:
<form style="padding: 0px; margin-top: 0px; margin-bottom: 0px;"
id="searchform" method="get" action="<?php bloginfo(‘url’);
?>"><br>
<input type="text" name="s" id="s" size="20"
onfocus="this.value=”" value="<?php if (!$s) { $s = "
-Search 4cr-"; } echo $s; ?>" /><br>
</form>Ive tried putting the above code into a file called search.php and using the mclude, but I just cant figure it out. Any help would really be appreciated! Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dynamic Function with WP Cache’ is closed to new replies.