Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <div id="content-inside">
- <div id="post-container">
- <div id="posts">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class('gallery-item') ?>>
- <?php if (get_post_meta($post->ID, "_videoembed", true) || get_post_meta($post->ID, "_videoembed_manual", true)): ?>
- <div class="post-thumbnail">
- <a class="thumbnail-frame-video<?php if (get_option(THEME_PREFIX . "instant_view")){echo ' inline';}?>" href="<?php if (get_option(THEME_PREFIX . "instant_view")) : ?>#video-<?php the_ID(); ?><?php else : ?><?php the_permalink() ?><?php endif; ?>" title="<?php the_title_attribute(); ?>"><!-- nothing to see here --></a>
- <?php the_post_thumbnail(); ?>
- </div>
- <div class="instant">
- <div id="video-<?php the_ID(); ?>" class="instant-view">
- <?php echo get_video($post->ID); ?>
- </div>
- </div>
- <?php else : ?>
- <div class="post-thumbnail">
- <a class="thumbnail-frame" href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><!-- nothing to see here --></a>
- <?php the_post_thumbnail(); ?>
- </div>
- <?php endif; ?>
- <h2><a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <ul class="post-meta">
- <li class="date">Posted on <?php the_time('m.j.y'); ?></li>
- <li class="categories"><?php the_category(', ') ?></li>
- <li class="comments"><a href="<?php the_permalink() ?>#comments" title="<?php the_title_attribute(); ?>"><?php comments_number('0 Comments','1 Comment','% Comments'); ?></a></li>
- </ul>
- </div> <!-- gallery-item -->
- <?php endwhile; else : ?>
- <div id="nothing-here" class="post-item">
- <div class="post-details">
- <h2>Whoops!!! Nothing Here by That Name</h2>
- </div>
- <div class="post-content">
- <p>Very sorry, but what you are looking for isn't here. Maybe you should try one of the links below.</p>
- <h4 class="not-here">Find Posts by Title:</h4>
- <ul>
- <?php query_posts('&showposts=1000&orderby=title&order=asc'); if (have_posts()) : while (have_posts()) : the_post(); ?>
- <li><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></li>
- <?php endwhile; endif; ?>
- </ul>
- <h4 class="not-here">Find Posts by Month:</h4>
- <ul>
- <?php wp_get_archives('type=monthly'); ?>
- </ul>
- <h4 class="not-here">Find Posts by Category:</h4>
- <ul>
- <?php wp_list_categories('title_li='); ?>
- </ul>
- <h4 class="not-here">Maybe a Page:</h4>
- <ul>
- <?php wp_list_pages('title_li='); ?>
- </ul>
- </div>
- </div> <!-- post-item -->
- <?php endif; ?>
- </div> <!-- post -->
- <?php get_sidebar(); ?>
- </div> <!-- post-container -->
- </div> <!-- content-inside -->
- </div> <!-- content -->
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment