From e661996c658e699e9e452b6522d64e270e121fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Eduardo?= Date: Tue, 15 Aug 2017 09:56:33 -0500 Subject: =?UTF-8?q?corrige=20posible=20redirecci=C3=B3n=20no=20deseada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content-page.php | 10 +++++----- content-search.php | 14 +++++++------- content-single.php | 12 ++++++------ content.php | 14 +++++++------- header.php | 2 +- sidebar.php | 8 ++++---- 6 files changed, 30 insertions(+), 30 deletions(-) diff --git a/content-page.php b/content-page.php index 2b07f04..839f4e7 100644 --- a/content-page.php +++ b/content-page.php @@ -19,7 +19,7 @@ printf ( '

%s

-

%s ' . __('by', 'Lidra') . ' %s %s

+

%s ' . __('by', 'Lidra') . ' %s %s

%s
@@ -43,10 +43,10 @@ printf ( '
' ); - endwhile; - else: - printf( '

' . __('No pages', 'Lidra') . '

' ); - endif; + endwhile; + else: + printf( '

' . __('No pages', 'Lidra') . '

' ); + endif; rewind_posts(); printf(' '); 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 ('

%s

-

%s ' . __('by', 'Lidra') . ' %s

+

%s ' . __('by', 'Lidra') . ' %s

%s
%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( '

' . __('No items found with:', 'Lidra') . ' '. get_search_query() .'

' ); - endif; + ); + endwhile; + else: + printf( '

' . __('No items found with:', 'Lidra') . ' '. get_search_query() .'

' ); + endif; rewind_posts(); printf('
diff --git a/content-single.php b/content-single.php index 00ee91a..77794cf 100644 --- a/content-single.php +++ b/content-single.php @@ -21,7 +21,7 @@ printf ('

%s

-

%s ' . __('by', 'Lidra') . ' %s %s

+

%s ' . __('by', 'Lidra') . ' %s %s

%s
@@ -46,10 +46,10 @@ printf (' ' ); comments_template(); - endwhile; - else: - printf( '

' . __('No post', 'Lidra') . '

' ); - endif; - rewind_posts(); + endwhile; + else: + printf( '

' . __('No post', 'Lidra') . '

' ); + endif; + rewind_posts(); printf(' '); diff --git a/content.php b/content.php index e81a4ef..9dafbe6 100644 --- a/content.php +++ b/content.php @@ -27,7 +27,7 @@

%s

-

%s ' . __('by', 'Lidra') . ' %s

+

%s ' . __('by', 'Lidra') . ' %s

%s
%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( '

' . __('No post', 'Lidra') . '

' ); - endif; + ); + endwhile; + else: + printf( '

' . __('No post', 'Lidra') . '

' ); + endif; rewind_posts(); printf ('
diff --git a/header.php b/header.php index ef8608f..6152b1a 100644 --- a/header.php +++ b/header.php @@ -53,7 +53,7 @@ printf(