diff options
Diffstat (limited to 'content-search.php')
-rw-r--r-- | content-search.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content-search.php b/content-search.php index 598646e..0888373 100644 --- a/content-search.php +++ b/content-search.php @@ -29,7 +29,7 @@ printf (' </div> <article class="info"> <h2 class="titulo"><a href="%s">%s</a></h2> - <p class="fecha">%s ' . __('by', 'Lidra') . ' <a href="%s" target="_blank">%s</a></p> + <p class="fecha">%s ' . __('by', 'Lidra') . ' <a href="%s" rel="noopener noreferrer" target="_blank">%s</a></p> <div class="extracto">%s</div> <div class="categorias"> %s @@ -41,7 +41,7 @@ printf (' printf( $template_html, get_the_permalink(), - get_the_post_thumbnail( null, '', $attr = array( 'title' => get_the_title() ) ), + get_the_post_thumbnail( null, '', $attr = array( 'title' => get_the_title() ) ), get_the_permalink(), get_the_title(), get_the_time( 'd-M-Y' ), @@ -50,11 +50,11 @@ printf (' get_the_excerpt(), //the_category() get_the_category_list() - ); - endwhile; - else: - printf( '<p>' . __('No items found with:', 'Lidra') . ' '. get_search_query() .' </p>' ); - endif; + ); + endwhile; + else: + printf( '<p>' . __('No items found with:', 'Lidra') . ' '. get_search_query() .' </p>' ); + endif; rewind_posts(); printf(' </div> |