Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ZeroBin is a minimalist, opensource online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted in the browser using 256 bits AES. More information on the project page.
- ▶ Note: This is a test service: Data may be deleted anytime. Kittens will die if you abuse this service.
- ZeroBin
- Because ignorance is bliss
- Alpha 0.15
- NewClone This document will expire in 12 months.
- <div id="archive" class="posts box">
- <?php wp_reset_query(); ?>
- <?php /* If this is a category archive */ if (is_category()) { ?>
- <h1 class="title archiveTitle"><?php single_cat_title(); ?></h1>
- <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
- <h1 class="title archiveTitle"><?php _e('Archive for','wpzoom');?>: <?php single_tag_title(); ?></h1>
- <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
- <h1 class="title archiveTitle"><?php _e('Archive for','wpzoom');?> <?php the_time('F jS, Y'); ?></h1>
- <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
- <h1 class="title archiveTitle"><?php _e('Archive for','wpzoom');?> <?php the_time('F, Y'); ?></h1>
- <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
- <h1 class="title archiveTitle"><?php _e('Archive for','wpzoom');?> <?php the_time('Y'); ?></h1>
- <?php /* If this is an author archive */ } elseif (is_search()) { ?>
- <h1 class="title archiveTitle"><?php _e('Search Results for','wpzoom');?>: <?php the_search_query(); ?></h1>
- <?php /* If this is an author archive */ }
- elseif (is_author()) {
- if(get_query_var('author_name')) :
- $curauth = get_userdatabylogin(get_query_var('author_name'));
- else :
- $curauth = get_userdata(get_query_var('author'));
- endif;
- ?>
- <h1 class="title archiveTitle"><?php _e('Author Archive','wpzoom');?>: <a href="<?php echo $curauth->user_url; ?>"><?php echo $curauth->first_name; ?> <?php echo $curauth->last_name; ?></a></h1>
- <?php /* If this is a paged archive */ } ?>
- <?php if ( is_home() ) { query_posts($query_string . '&cat=-208'); } ?>
- <?php if ( have_posts() ) : while ( have_posts() ) : the_post();
- $i++;
- ?>
- <div class="post">
- <div class="postmetadata">
- <?php unset($img);
- if ( current_theme_supports( 'post-thumbnails' ) && has_post_thumbnail() ) {
- $thumbURL = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), '' );
- $img = $thumbURL[0];
- }
- else {
- unset($img);
- if ($wpzoom_cf_use == 'Yes')
- {
- $img = get_post_meta($post->ID, $wpzoom_cf_photo, true);
- }
- else
- {
- if (!$img)
- {
- $img = catch_that_image($post->ID);
- }
- }
- }
- if ($img){
- $img = wpzoom_wpmu($img);
- ?>
- <div class="cover"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo $img ?>&h=100&w=160&zc=1" alt="<?php the_title(); ?>" /></a></div><?php } ?>
- <ul>
- <li class="calendar"><?php the_time("$dateformat"); ?></li>
- </ul>
- </div>
- <div class="postcontent">
- <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
- <?php the_excerpt(); ?>
- <p class="more"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" class="readmore" rel="nofollow"><?php _e('continue reading »','wpzoom');?></a> <?php edit_post_link( __('Edit this post','wpzoom'), ' | ', ''); ?></p>
- </div>
- <div class="cleaner"> </div>
- <div class="sep"> </div>
- </div>
- <?php endwhile; // ?>
- <div class="navigation"><p class="more"><?php next_posts_link(__('« Older Entries','wpzoom')); ?><?php previous_posts_link(__('Newer Entries »','wpzoom')); ?></p></div>
- <?php else : ?>
- <div class="post">
- <p class="title"><?php _e('There are no posts in this category','wpzoom');?></p>
- </div>
- <?php endif; ?>
- </div><!-- end #archive -->
- <div class="cleaner"> </div>
Advertisement
Add Comment
Please, Sign In to add comment