Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content-search">
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="search-news">
- <div class="search_therms">
- <h2 class="search_h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'link til') ?> <?php the_title_attribute(); ?>" ><b><?php the_title(); ?></b></a></h2>
- <div class="search-content"><?php the_excerpt(); ?></div>
- </div>
- <div class="read-more"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e( 'link til') ?> <?php the_title_attribute(); ?>" ><b>Les mer</b></a></div>
- <center><img src="<?php bloginfo('stylesheet_directory'); ?>/images/news-line.png" /></center>
- </div><!-- end of search -->
- <?php endwhile; ?>
- <?php wp_pagenavi(); ?>
- <?php else: ?>
- <div class="error-search"><p>Beklager, ingen artikler eller sider<br /> stemte med dine søkekriterier, kanskje et nytt søk vil hjelpe?</p><br /> <div class="search-bar"><?php include 'searchform.php'; ?></div></div>
- <?php endif; ?>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement