diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-08-15 09:56:33 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-08-15 09:56:33 -0500 |
commit | e661996c658e699e9e452b6522d64e270e121fe5 (patch) | |
tree | 46693b2a3b129c53cbfef56e8dd91574e9e19a2e /content.php | |
parent | c675ca39e68062b3224ea6cb18a6bf928e983df3 (diff) | |
download | lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.lz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.tar.xz lidra-theme-e661996c658e699e9e452b6522d64e270e121fe5.zip |
corrige posible redirección no deseada
Diffstat (limited to 'content.php')
-rw-r--r-- | content.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/content.php b/content.php index e81a4ef..9dafbe6 100644 --- a/content.php +++ b/content.php @@ -27,7 +27,7 @@ </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 @@ get_the_permalink(), // has_post_thumbnail(), // the_post_thumbnail( 'homepage-thumb' ), - 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 @@ get_the_excerpt(), //the_category() get_the_category_list() - ); - endwhile; - else: - printf( '<p>' . __('No post', 'Lidra') . '</p>' ); - endif; + ); + endwhile; + else: + printf( '<p>' . __('No post', 'Lidra') . '</p>' ); + endif; rewind_posts(); printf (' </div> |