<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?', 'dswoddil'); ?> </p> <?php get_search_form(); ?> <?php the_widget('WP_Widget_Recent_Posts'); ?> <?php if (dswoddil_categorized_blog()) { // Only show the widget if site has multiple categories. ?> <div class="widget widget_categories"> <h2 class="widget-title"><?php _e('Most Used Categories', 'dswoddil'); ?> </h2> <ul> <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?> </ul> </div><!-- .widget --> <?php }
</div><!-- .entry-summary --> <?php } else { ?> <div class="entry-content media"> <?php /* translators: %s: Name of current post */ the_content(sprintf(wp_kses(__('Continue reading %s <span class="meta-nav">→</span>', 'dswoddil'), array('span' => array('class' => array()))), the_title('<span class="screen-reader-text">"', '"</span>', false))); wp_link_pages(array('before' => '<div class="page-links"><span class="page-links-title">' . __('Pages:', 'dswoddil') . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>')); ?> </div><!-- .entry-content --> <footer class="entry-footer"> <div class="entry-meta"> <?php if (in_array('category', get_object_taxonomies(get_post_type())) && dswoddil_categorized_blog()) { ?> <span class="cat-links"><?php echo get_the_category_list(_x(', ', 'Used between list items, there is a space after the comma.', 'dswoddil')); ?> </span> <?php } ?> <?php if (!post_password_required() && (comments_open() || get_comments_number())) { ?> <span class="comments-link"><?php comments_popup_link(__('Leave a comment', 'dswoddil'), __('1 Comment', 'dswoddil'), __('% Comments', 'dswoddil')); ?> </span>