/** * Prints HTML with meta information for the categories, tags. * * @since */ function pmc_eve_entry_meta() { $categories_list = get_the_category_list(_x(', ', 'Used between list items, there is a space after the comma.', 'pmc-eve')); if ($categories_list && pmc_eve_categorized_blog()) { printf('<span class="cat-links"><span class="screen-reader-text">%1$s </span>%2$s</span>', _x('Categories', 'Used before category names.', 'pmc-eve'), $categories_list); } $tags_list = get_the_tag_list('', _x(', ', 'Used between list items, there is a space after the comma.', 'pmc-eve')); if ($tags_list) { printf('<span class="tags-links"><span class="screen-reader-text">%1$s </span>%2$s</span>', _x('Tags', 'Used before tag names.', 'pmc-eve'), $tags_list); } }
esc_html_e('Oops! That page can’t be found.', 'pmc-eve'); ?> </h1> </header><!-- .page-header --> <div class="page-content"> <p><?php esc_html_e('It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'pmc-eve'); ?> </p> <?php get_search_form(); the_widget('WP_Widget_Recent_Posts'); // Only show the widget if site has multiple categories. if (pmc_eve_categorized_blog()) { ?> <div class="widget widget_categories"> <h2 class="widget-title"><?php esc_html_e('Most Used Categories', 'pmc-eve'); ?> </h2> <ul> <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?> </ul> </div><!-- .widget --> <?php