示例#1
0
				
			</div>
	        
	        <?php 
} else {
    ?>
	    	<?php 
}
?>
	        
	        <?php 
if (of_get_option('display_home_two') == '1') {
    ?>
	        
	        <h3 class="title"><?php 
    echo cat_id_to_name(of_get_option('category_home_two'));
    ?>
</h3>
	
	    	<div class="post second">
	
				<?php 
    $wp_query = new WP_Query(array('cat' => of_get_option('category_home_two'), 'posts_per_page' => of_get_option('postnumber_home_two'), 'paged' => $paged));
    ?>
				<?php 
    $post_class = 'first';
    ?>
	            <?php 
    if ($wp_query->have_posts()) {
        while ($wp_query->have_posts()) {
            $wp_query->the_post();
示例#2
0
        the_title();
        ?>
</h1>		
                    <?php 
        the_content(__("Read More", 'organicthemes'));
        ?>
                <?php 
    }
    ?>
            </div>
        </div>
    
        <div id="feature_list">
            
            <h4 class="featuredtitle"><?php 
    echo cat_id_to_name(of_get_option('select_categories_tabber'));
    ?>
</h4>
            
            <ul id="tabs">
			<?php 
    $recent = new WP_Query("cat=" . of_get_option('select_categories_tabber'));
    while ($recent->have_posts()) {
        $recent->the_post();
        ?>
                <li>
                    <h3><a href="javascript:;"><?php 
        the_title();
        ?>
</a></h3>
                </li>