Search Results
-
Is there a way to display search results as an unordered list? On search.php, I’m currently using:
<h2>Search Results for '<?php echo($s); ?>'</h2> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <!-- begin post container --> <div class="post_container"> <a href="<?php echo get_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a><br /> </div> <!-- End post_container"--> <?php endwhile; ?> <?php endif; ?>Thanks in advance.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
The topic ‘Search Results’ is closed to new replies.