Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="newsblock">
- <h4 class="widget-header"><ul class="header-widget-title"><?php echo $title; ?></ul></h4>
- <div class="newsblock-left">
- <ul class="home-links2">
- <?php $recent = new WP_Query(array( 'cat' => $categories, 'showposts' => 1 )); while($recent->have_posts()) : $recent->the_post();?>
- <li>
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_post_thumbnail( 'large-thumb', array( 'class' => 'img-large' )); ?></a>
- <?php } ?>
- <div class="home-links2-text">
- </div><!--home-links2-text-->
- </li>
- <?php endwhile; ?>
- </ul>
- <div class="newsblock-left-inner">
- <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
- <p><?php echo excerpt(53); ?></p>
- </div><!--newsblock-left-inner-->
- </div><!--newsblock-left-->
- <div class="newsblock-right">
- <ul class="home-links2">
- <?php $recent = new WP_Query(array( 'cat' => $categories, 'showposts' => 3 , 'offset' => 1 )); while($recent->have_posts()) : $recent->the_post();?>
- <li>
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_post_thumbnail('medium-thumb'); ?></a>
- <?php } ?>
- <div class="home-links2-text">
- <a href="<?php the_permalink(); ?>"><?php short_title(68); ?></a>
- </div><!--home-links2-text-->
- </li>
- <?php endwhile; ?>
- </ul>
- <ul class="home-links2">
- </div><!--newsblock-right-->
- <div class="newsblock-right2">
- <ul class="home-links2">
- <?php $recent = new WP_Query(array( 'cat' => $categories, 'showposts' => 4 , 'offset' => 4 )); while($recent->have_posts()) : $recent->the_post();?>
- <li>
- <?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
- <a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"></a>
- <?php } ?>
- <div class="home-links2-text">
- <a href="<?php the_permalink(); ?>"><?php short_title(68); ?></a>
- </div><!--home-links2-text-->
- </li>
- <?php endwhile; ?>
- </ul>
- <ul class="home-links2">
- </div>
- </div> <!--newsblock-right2-->
- </div> <!--newsblock-->
Advertisement
Add Comment
Please, Sign In to add comment