editing my search box
-
hi,
I want my search box to say “search for…”. as in, I want the default input of the seach box to be “search for…”, so that people see that it’s a search box – not just a weird box. could anyone help me with this? I have basically no knowledge of php myself. =/ here is my php:
<?php
get_header();
?><?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<div id=”small”><smallbg><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –></smallbg></div>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2>
<div class=”entry”>
<?php the_content(‘Read the rest of this entry »’); ?>
</div><p class=”postmetadata”><i><?php the_tags(‘Tags: ‘, ‘, ‘, ‘
‘); ?></i>Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ ‘); ?> </p>
</div><?php endwhile; ?>
<div class=”navigation”>
<div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div><?php else : ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p>
<?php get_search_form(); ?><?php endif; ?>
<?php get_footer(); ?>
- The topic ‘editing my search box’ is closed to new replies.