Beispiel #1
0
?>
</p>
						</div>
						<div class="col-md-12">
							<?php 
get_search_form();
?>
						</div>
						<div class="col-md-12">
							<?php 
the_widget('WP_Widget_Recent_Posts');
?>
						</div>
						<div class="col-md-12">
							<?php 
if (upbootwp_categorized_blog()) {
    // Only show the widget if site has multiple categories.
    ?>
						</div>
						<div class="widget widget_categories col-md-12">
							<h2 class="widgettitle"><?php 
    _e('Most Used Categories', 'upbootwp');
    ?>
</h2>
							<ul>
							<?php 
    wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10));
    ?>
							</ul>
						</div><!-- .widget -->
						<?php 
Beispiel #2
0
    ?>
		</div><!-- .entry-content -->
		
		<?php 
}
?>
		
		<footer class="entry-meta">
		<?php 
if ('post' == get_post_type()) {
    // Hide category and tag text for pages on Search
    ?>
		<?php 
    /* translators: used between list items, there is a space after the comma */
    $categories_list = get_the_category_list(__(', ', 'upbootwp'));
    if ($categories_list && upbootwp_categorized_blog()) {
        ?>
		<div class="cat-links">
			<?php 
        printf(__('<p>Posted in: %1$s</p>', 'upbootwp'), $categories_list);
        ?>
				<?php 
    }
    // End if categories
    ?>
		
				<?php 
    /* translators: used between list items, there is a space after the comma */
    $tags_list = get_the_tag_list('', __(', ', 'upbootwp'));
    if ($tags_list) {
        ?>