</p> <?php get_search_form(); ?> <div class="row"> <div class="col-md-6 not-found-widget"> <?php the_widget('WP_Widget_Recent_Posts', 'title=' . esc_html__('Recent Posts', 'sparkling')); ?> </div> <div class="col-md-6 not-found-widget"> <?php if (sparkling_categorized_blog()) { // Only show the widget if site has multiple categories. ?> <div class="widget widget_categories"> <h2 class="widgettitle"><?php esc_html_e('Most Used Categories', 'sparkling'); ?> </h2> <ul> <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?> </ul> </div><!-- .widget --> <?php }
$term = get_the_terms($post->ID, 'location'); echo $term[0]->name . ', ' . $term[1]->name; ?> </span> </p> </div> <div class="entry-meta"> <?php sparkling_posted_on(); ?> <?php /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list(__(', ', 'sparkling')); if ($categories_list && sparkling_categorized_blog()) { ?> <span class="cat-links"><i class="fa fa-folder-open-o"></i> <?php printf(__(' %1$s', 'sparkling'), $categories_list); ?> </span> <?php } // End if categories ?> <?php edit_post_link(__('Edit', 'sparkling'), '<i class="fa fa-pencil-square-o"></i><span class="edit-link">', '</span>'); ?> </div><!-- .entry-meta -->
<header class="page-header"> <h1 class="page-title"><?php _e( 'Oops! That page can’t be found.', 'sparkling' ); ?></h1> </header><!-- .page-header --> <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?', 'sparkling' ); ?></p> <?php get_search_form(); ?> <div class="row"> <div class="col-md-6 not-found-widget"> <?php the_widget( 'WP_Widget_Recent_Posts' ); ?> </div> <div class="col-md-6 not-found-widget"> <?php if ( sparkling_categorized_blog() ) : // Only show the widget if site has multiple categories. ?> <div class="widget widget_categories"> <h2 class="widgettitle"><?php _e( 'Most Used Categories', 'sparkling' ); ?></h2> <ul> <?php wp_list_categories( array( 'orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10, ) ); ?> </ul> </div><!-- .widget --> <?php endif; ?>