Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <div id="featured">
- <!-- If home page and other pages, show featured image -->
- <?php if (have_posts()) : ?>
- <?php query_posts('showposts=1'); while (have_posts()) : the_post(); ?>
- <a href="<?php the_permalink() ?>" title="<?php echo get_the_excerpt(); ?>"><?php the_post_thumbnail('featured-image'); ?></a>
- <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
- <div class="featured-cat"><?php the_category(', ') ?></div>
- <div class="featured-info">
- <?php $myExcerpt = get_the_excerpt(); $tags = array("<p>", "</p>"); $myExcerpt = str_replace($tags, "", $myExcerpt); echo $myExcerpt; ?>
- <a href="<?php the_permalink() ?>">Sigue leyendo</a>
- </div><!-- /.featured-info -->
- <?php endwhile;?>
- <?php wp_reset_query(); ?>
- <?php endif; ?>
- </div><!-- /#featured -->
- <div id="posts">
- <!-- All pages show 9 thumbs with an offset of 1 -->
- <?php if (have_posts()) : ?>
- <?php query_posts('posts_per_page=9&offset=1'); while ( have_posts() ) : the_post(); ?>
- <?php include("incl/post.php"); ?>
- <?php endwhile;?>
- <?php wp_reset_query(); ?>
- <?php endif; ?>
- <div id="browsing">
- <div class="browse-nav">
- <div class="browse-left"><?php previous_posts_link('Anterior') ?> </div><!-- /.browse-left -->
- <div class="browse-mid"><div class="navigation"><?php if(function_exists('pagenavi')) { pagenavi(); } ?></div></div><!-- /.browse-mid -->
- <div class="browse-right"><?php next_posts_link('Siguiente') ?> </div><!-- /.browse-right -->
- </div><!-- /.browse-nav -->
- <div class="clear"></div>
- </div><!-- /#browsing -->
- </div><!-- /#posts -->
- </div><!-- /#content -->
- <h2>Últimos Comentarios</h2>
- <?php bwp_get_recent_comments(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement