'.esc_html_e( 'Search Results for: ', 'agel-theme' ).get_search_query().'

'; if(is_404()) echo '

'.esc_html_e( 'Page not found ', 'agel-theme' ).'

'; } //getting thumbnail function agel_get_thumbnail($spID, $size){ $id_img = get_post_thumbnail_id($spID); $image = wp_get_attachment_image_src($id_img, $size); if($image[0] == '') $result = get_template_directory_uri().'/imgs/none.png'; else $result = esc_url($image[0]); return $result; } //get entry meta function agel_get_entry_meta() { $blog_tax = get_theme_mod('blog_tax'); $blog_date = get_theme_mod('blog_date'); if($blog_date != '1' || $blog_tax != '1') echo '
'; if($blog_date != '1'){ $archive_year = get_the_time('Y'); $archive_month = get_the_time('m'); $archive_day = get_the_time('d'); echo ''; echo ' '; the_time(get_option( 'date_format')); echo ''; } if($blog_tax != '1'){ echo ''; the_category(' '); echo ''; if(has_tag()){ echo ''; the_tags('', ' ',''); echo ''; } } if($blog_date != '1' || $blog_tax != '1') echo '
'; } //pagination function agel_get_the_pagination(){ echo ''; } //pagination template function agel_pagination_template($template, $class){ return ''; } add_filter('navigation_markup_template', 'agel_pagination_template', 10, 2);