Example #1
0
    ?>
</a></h3>
			<?php 
    if ($x % 2 == 0) {
        ?>

			<p><?php 
        echo ds_get_excerpt('95');
        ?>
</p>
			<?php 
    } else {
        ?>

			<p><?php 
        echo ds_get_excerpt('45');
        ?>
</p>
			<?php 
    }
    ?>

			
			<?php 
    if ($x % 2 == 0) {
        ?>

			<a href="<?php 
        the_permalink();
        ?>
"><?php 
Example #2
0
    ?>
"><?php 
    the_post_thumbnail('blog-image');
    ?>
</a>

				<h3><a href="<?php 
    the_permalink();
    ?>
"><?php 
    the_title();
    ?>
</a></h3>

				<p><?php 
    echo ds_get_excerpt('300');
    ?>
</p>

				<a class="read_more" href="<?php 
    the_permalink();
    ?>
">Read more...</a>

				<div class="clear"></div>

			</article><!--//blog_box-->

			

			<?php 
Example #3
0
						<div><a href="<?php 
    the_permalink();
    ?>
"><?php 
    the_post_thumbnail('st-blog-image');
    ?>
</a></div>
						<div class="sb_title"><a href="<?php 
    the_permalink();
    ?>
"><?php 
    the_title();
    ?>
</a></div>
						<div class="sb_price"><?php 
    echo ds_get_excerpt(470);
    ?>
</div>
						<p><a href="<?php 
    the_permalink();
    ?>
" class="read_more">READ MORE</a></p>
					</div><!--//blog_box-->
				
				<?php 
    if ($x == 2) {
        echo '<div class="blog_box clear"></div>';
        $x = -1;
    }
    $x++;
    ?>