예제 #1
0
        the_post_thumbnail('slider-img');
        ?>
</a>
				<div class="featured-hentry-wrap">
					<div id="post-<?php 
        the_ID();
        ?>
" <?php 
        post_class();
        ?>
>
						<div class="slider-header">
							<div class="slide-meta">
								<?php 
        $categories_list = get_the_category_list(__(', ', 'untitled'));
        if ($categories_list && untitled_categorized_blog()) {
            echo '<span class="categories-links">' . $categories_list . '</span>';
        }
        ?>
							</div>
							<h2 class="entry-title"><a href="<?php 
        the_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h2>
						</div><!-- .slider-header -->
						<div class="slide-meta">
							<?php 
        get_the_date();
예제 #2
0
				<div class="entry-content">
					<p><?php 
_e('It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'untitled');
?>
</p>

					<?php 
get_search_form();
?>

					<?php 
the_widget('WP_Widget_Recent_Posts');
?>

					<?php 
if (untitled_categorized_blog()) {
    // Only show the widget if site has multiple categories.
    ?>
					<div class="widget widget_categories">
						<h2 class="widgettitle"><?php 
    _e('Most Used Categories', 'untitled');
    ?>
</h2>
						<ul>
						<?php 
    wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10));
    ?>
						</ul>
					</div><!-- .widget -->
					<?php 
}