Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Start The Loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>
- <?php /* Permalink navigation has to be inside the loop */ if (is_single()) get_template_part('navigation'); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <?php lblg_before_post_title(); ?>
- <?php if( !is_single() && !is_page() ) { ?><h2><a>" rel="bookmark" title="Permanent Link to <?php echo strip_tags(get_the_title()) ?>"><?php the_title(); ?></a></h2>
- <?php } else { ?><h1><?php the_title(); ?></h1><?php } ?>
- <?php lblg_before_itemtext(); ?>
- <div class="itemtext">
- <?php
- if ( is_archive() or is_search() or is_tag() ) {
- the_excerpt();
- } else {
- the_content('Continue reading'. " '" . the_title('', '', false) . "'");
- }
- wp_link_pages( array( 'before' => '<div class="post-pagination">Pages: ', 'after' => '</div>', 'next_or_number' => 'number'));
- ?>
- </div>
- <?php lblg_after_itemtext(); ?>
- <!--
- <?php trackback_rdf(); ?>
- -->
- </div>
- <?php } /* End while */?>
- <?php if(is_home() || is_archive()) get_template_part('navigation'); ?>
- <?php } /*End loop*/ ?>
- <strong>page.php</strong>
- <?php
- /*
- Template Name: Page
- */
- ?>
- <?php get_header(); ?>
- <div id="allwrapper">
- <div id="wrapper">
- <div id="lb-content">
- <?php get_template_part( 'theloop' ); ?>
- <?php if( comments_open() ) comments_template(); ?>
- </div> <!-- #lb-content -->
- </div> <!-- #wrapper -->
- <?php get_sidebar(); ?>
- </div><!-- #allwrapper -->
- <?php get_footer(); ?>
- <strong>single.php</strong>
- <?php
- /*
- Template Name: Single Post
- */
- get_header(); ?>
- <div id="allwrapper">
- <div id="wrapper">
- <div id="lb-content">
- <?php get_template_part( 'theloop' ); ?>
- <?php comments_template(); ?>
- </div><!-- #lb-content -->
- </div><!-- #wrapper -->
- <?php get_sidebar(); ?>
- </div><!-- #allwrapper -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement