Example #1
0
                $threeboxquery->the_post();
                ?>
  <div class="feature-box"> <a href="<?php 
                the_permalink();
                ?>
">
    <?php 
                the_post_thumbnail();
                ?>
    <h2>
      <?php 
                the_title();
                ?>
    </h2>
    <span></span> <?php 
                echo wp_kses_post(sktbefit_content(10));
                ?>
 </a><a class="read-more" href="<?php 
                the_permalink();
                ?>
">
    <?php 
                _e('Read More', 'skt-befit');
                ?>
    </a> </div>
  <?php 
            }
            ?>
  <?php 
            wp_reset_postdata();
            ?>
Example #2
0
					<?php 
if (have_posts()) {
    ?>
                    <?php 
    while (have_posts()) {
        the_post();
        ?>
                  	<li><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_post_thumbnail(array(59, 51));
        the_title();
        ?>
</a><br/><?php 
        echo sktbefit_content(10);
        ?>
</li>
                    <?php 
    }
    ?>
                    <?php 
}
?>
                </ul>
                </div><!-- cols -->
        </div><!-- widget-column -->
        <div class="widget-column last">
       		<?php 
if (!dynamic_sidebar('twitter-wid')) {
    ?>
Example #3
0
        ?>
</a>
        </div>
        <div class="clear"></div>
        <div class="postauthor"><?php 
        echo get_the_author();
        ?>
</div>
        <div class="postdate"><?php 
        echo get_the_date('F j, Y');
        ?>
</div>
        <div class="clear"></div>
        <div class="post-content">
        <?php 
        echo sktbefit_content(35);
        ?>
        </div>
        <a href="<?php 
        the_permalink();
        ?>
"><div class="morebtn"><?php 
        _e('Read More', 'skt-befit');
        ?>
</div></a>
	    </div><?php 
        if ($k % 4 == 0) {
            ?>
<div class="clear"></div><?php 
        }
        ?>