Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <?php get_sidebar(); ?>
- <div class="right">
- <div class="content" role="main">
- <?php if ( have_posts() ) : ?>
- <div class="breadcrumbs"><a href="<?php bloginfo('url'); ?>" title="Till startsidan">Hem</a> » <a href="<?php bloginfo('url'); ?>/las-och-kommentera/">Tidningsarkiv</a> » <?php foreach((get_the_category()) as $category) { echo $category->cat_name . ' '; } ?></div>
- <header class="page-header">
- <h3 class="page-title"><?php single_cat_title() ?></h3>
- </header>
- <?php rewind_posts(); ?>
- <?php $posts = query_posts($query_string . '&orderby=title'); ?>
- <?php /* Start the Loop */ ?>
- <?php while ( have_posts() ) : the_post(); ?>
- <?php $number = get_post_meta($post->ID, 'number', true); ?>
- <article class="fanzine-archive">
- <a href="<?php the_permalink(); ?>" title="<?php single_cat_title(); ?> nummer <?php echo $number ?>"><?php
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail('fanzine-thumb');
- }
- ?></a>
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php single_cat_title(); ?> nummer <?php echo $number ?>"><?php single_cat_title(); ?> nummer <?php echo $number ?></a></h2>
- <div class="fanzine-archive-meta category">
- <div class="date">
- <strong>Datum:</strong>
- <?php $number_date = get_post_meta($post->ID, 'number_date', true); ?>
- <?php echo $number_date ?>
- </div>
- <div class="pages">
- <strong>Antal sidor:</strong>
- <?php $number_of_pages = get_post_meta($post->ID, 'number_of_pages', true); ?>
- <?php echo $number_of_pages ?>
- </div>
- <div class="city">
- <strong>Stad:</strong>
- <?php $city = get_post_meta($post->ID, 'city', true); ?>
- <?php echo $city ?>
- </div>
- <div class="publisher">
- <strong>Utgivare:</strong>
- <?php $publisher = get_post_meta($post->ID, 'publisher', true); ?>
- <?php echo $publisher ?>
- </div>
- <div style="clear: both; width: auto; float: none;"></div>
- </div>
- <div style="clear: both;"></div>
- </article>
- <?php endwhile; ?>
- <?php comments_template(); ?>
- <div class="navigation">
- <div class="nav-previous"><?php next_posts_link( __( '« Äldre' ) ); ?></div>
- <div class="nav-next"><?php previous_posts_link( __( 'Nyare »' ) ); ?></div>
- </div> <!-- navigation -->
- <?php else : ?>
- <article id="post-0" class="post no-results not-found">
- <div class="breadcrumbs">
- <?php if(function_exists('bcn_display'))
- {
- bcn_display();
- }?>
- </div>
- <header class="entry-header">
- <h2 class="entry-title"><?php _e( 'Nothing Found', 'clearlyobscure' ); ?></h2>
- </header><!-- .entry-header -->
- <div class="post-content">
- <p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'clearlyobscure' ); ?></p>
- <?php get_search_form(); ?>
- </div><!-- .post-content -->
- </article><!-- #post-0 -->
- <?php endif; ?>
- </div><!-- .content -->
- </div><!-- .right -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement