aboutsummaryrefslogtreecommitdiffstats
path: root/content-page.php
diff options
context:
space:
mode:
authorHeckyel <heckyel@openmailbox.org>2017-02-22 18:06:06 -0500
committerHeckyel <heckyel@openmailbox.org>2017-02-22 18:06:06 -0500
commitd7ce4266759c9c8c9943ceab74feee46ceac96ab (patch)
treedd27cc0dde1df1bc3bf0b138aa63d86ca042683e /content-page.php
parent855e7ef478eab7c4f8f0f20215de940e56d8ff73 (diff)
downloadlidra-theme-d7ce4266759c9c8c9943ceab74feee46ceac96ab.tar.lz
lidra-theme-d7ce4266759c9c8c9943ceab74feee46ceac96ab.tar.xz
lidra-theme-d7ce4266759c9c8c9943ceab74feee46ceac96ab.zip
agregando enlace de autor en las entradas
Diffstat (limited to 'content-page.php')
-rw-r--r--content-page.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/content-page.php b/content-page.php
index dceb945..8844209 100644
--- a/content-page.php
+++ b/content-page.php
@@ -20,7 +20,7 @@ printf ( '<section class="main col-md-8">
</div>
<div class="info">
<h2 class="titulo">%s</h2>
- <p class="fecha">%s</p>
+ <p class="fecha">%s&nbsp;' . __('por', ('libre')) . '&nbsp;%s <a href="%s" target="_blank">%s</a></p>
<div class="categorias">
%s
</div>
@@ -30,6 +30,9 @@ printf ( '<section class="main col-md-8">
get_the_post_thumbnail(),
get_the_title(),
get_the_time( 'd-M-Y' ),
+ get_avatar( get_the_author_meta('ID'), 18 , '', 'author'),
+ get_the_author_meta('user_url'),
+ get_the_author(),
get_the_category_list()
//get_the_content()
//the_category()
@@ -45,7 +48,7 @@ printf ( '<section class="main col-md-8">
);
endwhile;
else:
- printf( '<p>' . __('No hay entradas', 'libre') . '</p>' );
+ printf( '<p>' . __('No hay p&aacute;ginas', 'libre') . '</p>' );
endif;
rewind_posts();
printf(' </div>