Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- wp_enqueue_script("jquery");
- get_header();
- setup_postdata($post);
- ?>
- <?php
- /*
- Template Name: Search Page
- */
- ?>
- <div id="content-column">
- <div class="bar"></div>
- <div class="con">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="post" id="post-<?php the_ID(); ?>">
- <h1 class="title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
- <p class="meta"><small>Posted on <?php the_time('F jS, Y') ?> by <?php the_author() ?> <?php edit_post_link('Edit', ' | ', ''); ?></small></p>
- <div class="entry">
- <?php the_excerpt(); ?>
- </div>
- <div class="info">
- <p class="links">» <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p>
- <p class="tags"><?php the_tags('Tags: ', ', ', ' '); ?></p>
- </div>
- </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 endif; ?>
- </div> <!-- /cont -->
- </div> <!-- /content column -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement