Example #1
0
 function nucleare_entry_category()
 {
     if ('post' == get_post_type()) {
         $categories_list = get_the_category_list(' / ');
         if ($categories_list && nucleare_categorized_blog()) {
             printf('<span class="cat-links">' . __('%1$s', 'nucleare') . '</span>', $categories_list);
         }
     }
 }
Example #2
0
				<div class="page-content">
					<p><?php 
_e('It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'nucleare');
?>
</p>

					<?php 
get_search_form();
?>

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

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