Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage WP-Skeleton
- */
- ?>
- <div class="content">
- <div class="maineight columns">
- <div class="main">
- <?php $c = 0; while ( have_posts() ) : the_post(); ?> <!-- the Loop -->
- <!--The Meta, Author, Date, Categories and Comments-->
- <div class="meta">
- <div class="metaleft"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php echo get_the_date(); ?></a></div><div class="metalahde"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_meta(); ?></a></div>
- </div>
- <div class="kuvajateksti"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_post_thumbnail();
- echo get_post(get_post_thumbnail_id())->post_excerpt; ?></a></div>
- <article id="post-<?php the_ID(); ?>">
- <div class="title">
- <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title('<h1>', '</h1>'); ?></a> <!--Post titles-->
- </div>
- <?php the_content("Lue lisää > " ); ?> <!--The Content-->
- </article>
- <?php $c ++;
- get_template_part('post', 'homepage');
- if ($c > 2 ) {
- $c = 0;?>
- <iframe width="100%" height="314" marginheight="0px"
- scrolling="no" border="0" src="http://www.e-dsign.net/julkaisija/uutisbanneri"></iframe>
- <?php
- }
- endwhile; ?><!-- End the Loop -->
- <?php /* Display navigation to next/previous pages when applicable */ ?>
- <?php if ( $wp_query->max_num_pages > 1 ) : ?>
- <nav id="nav-below">
- <div class="nav-previous"><?php next_posts_link(); ?></div>
- <div class="nav-next"><?php previous_posts_link(); ?></div>
- </nav><!-- #nav-below -->
- <?php endif; ?>
- <?php /* Only load comments on single post/pages*/ ?>
- <?php if(is_page() || is_single()) : comments_template( '', true ); endif; ?>
- <div class="jako_napit"><a href="#"><img src="http://www.e-dsign.net/julkaisija/wp-content/themes/julkaisija/images/addthis_napit.png" width="96" height="16" border="0"></a></div>
- </div> <!-- End Main -->
- </div> <!-- End two-thirds column -->
- </div><!-- End Content -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement