I want to search a post based on the date it was posted. Example, in the search box, I would place there November 22, 2011 and all posts during November 22, 2011 would be displayed. Im desperate on how to do this. Any help would be very much appreciated. I am using a theme and it's search.php goes something like this. Can I just insert that query you've given to this search.php? I don't know where to put those codes you've given since Im a beginner in wordpress. Thank you very much for your time.
<?php the_search_query(); ?> <?php if (have_posts()) : while (have_posts()) :the_post(); $arc_year = get_the_time('Y'); $arc_month = get_the_time('m'); $arc_day = get_the_time('d'); <?php the_permalink(); ?> <?php the_title(); <?php the_time('F j, Y'); ?> at <?php the_time('g:i a'); ?> <?php dp_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '" class="thumbnail"'); ?> <?php the_excerpt(); ?> <?php the_permalink(); ?>">READ MORE