Post author name
-
Hi,
after update to ver 3.1.1 the post author name (under the post title) is linking to the post themself, not to the http://www.blogname.com/author/name
Therefore you can’t list all author posts anymore…As you can see the href parameter in source code is empty:
<span class=”fn”>themedemos</span>
-
please fix the dates formats on 3.1.3!
date formats = get_option(‘date_format’)
instead of mix:
‘j M, Y’
‘F j, Y’
and get_option(‘date_format’)it uses 3 types of formats in files:
parts/post-list-author-date.php
parts/single-author-date.phptks
Thank you, it’s fixed now (except for the translation into French and dates format).
Thank you very much.Hi,
I don’t see anything wrong to the date format.
Are you referring to the following block of codes from https://themes.trac.wordpress.org/browser/hueman/3.1.3/parts/single-author-date.php#L16
<time class="published" datetime="<?php the_time('Y-m-d H:i:s'); ?>"><?php the_time(get_option('date_format')); ?></time>The part visible on webpage is using
<?php the_time(get_option('date_format')); ?>This
<?php the_time('Y-m-d H:i:s'); ?>is for the datetime attribute which is only visible in source code and it’s for search engine to “see”.Thank you
Hi thank you for your answer.
The problem is only that I have this on my website :
“par Jean-Pierre Leac · Published 2 mai 2016 · Updated mai 2, 2016” (example here : http://www.lescahiersdelinnovation.com/2016/05/combien-vaut-ma-start-up/).I would like to have instead :
“par Jean-Pierre Leac · Publié le 2 mai 2016 · Mis à jour le 2 mai 2016“But it’s a detail a not a very serious matter 🙂
@denzel chia
Files with mixed formats
“actual code => correct code”
https://themes.trac.wordpress.org/browser/hueman/3.1.3/parts/single-author-date.php
the_date(‘F j, Y’); => the_date(get_option(‘date_format’));
the_modified_time(‘F j, Y’); => the_modified_time(get_option(‘date_format’));https://themes.trac.wordpress.org/browser/hueman/3.1.3/parts/post-list-author-date.php
the_time( apply_filters(‘hu_post_date_format’, ‘j M, Y’ ) ); => the_time( apply_filters(‘hu_post_date_format’, get_option(‘date_format’) ) );
the_date(‘F j, Y’); => the_date(get_option(‘date_format’));
the_modified_date(‘F j, Y’); => the_modified_date(get_option(‘date_format’));Hi jpleac,
With reference to this file.
https://themes.trac.wordpress.org/browser/hueman/3.1.3/parts/single-author-date.php#L16I can see that the word
<?php _e('Published', 'hueman'); ?>and<?php _e('Updated', 'hueman'); ?>is translatable.I can see them in the fr_FR.po file included in Hueman theme.
You should try translating them.Thank you.
@denzel Chia
but not translated on
https://themes.trac.wordpress.org/browser/hueman/3.1.3/parts/post-list-author-date.php
ok is hidden “P” but….
Hi Denzel
Than you, I modified the fr_Fr file and got the words translated with no problem (I should have thought of that by myself sorry).
It’s all fixed now except for the second date format (The date for updated). I don’t understand the explanations above.
I really thank you for your reactivity and the quality of your answers.
ByeHi @jpleac
Using the updated date in your post as a reference.
http://www.lescahiersdelinnovation.com/2016/05/combien-vaut-ma-start-up/The following is the source code.
Mis à jour le <time class="updated" datetime="2016-05-05 08:45:35">mai 5, 2016</time>The words Mis à jour le, as well as the date, mai 5, 2016 is visible to your visitor.
The
datetime="2016-05-05 08:45:35"is not visible to your visitor, it’s for the search engine crawlers to read.Thank you.
@denzel Chia
Using the updated and publish date in your post as a reference.
http://www.lescahiersdelinnovation.com/2016/05/combien-vaut-ma-start-up/PUBLIÉ LE 2 MAI 2016 MIS À JOUR LE MAI 5, 2016
two diferent date formats on client side not on the “datetime” attr
the problem is not on the datetime attr (that´s ok) is on client side 🙂
Hi @zecompadre,
Thank you. I finally understand your point.
I had made the following request on github.
https://github.com/presscustomizr/hueman/issues/247Let’s leave the decision to our theme author.
Thank you
Denzeltks +1
Hi
i just upgraded to Hueman 3.1.5 and the first of the 2 dates has completely disappeared 🙂de Jean-Pierre Leac · Publication · Mis à jour 9 mai 2016 …
I must be cursed …
This is how the source code appears now :
· Publication <time class="published" datetime="6 avril 2016"></time> · Mis à jour <time class="updated" datetime="27 avril 2016">27 avril 2016</time>The published date is gone. Try to figure out why but it remains mysterious to me.
@jpleac – This is a different issue. Please start a new topic. Thanks.
The topic ‘Post author name’ is closed to new replies.
