Author & date of posts change

  • Author
    Posts
  • #153207

    Hello,

    how can I change the string “Posted on mmm dd, yyyy by authorname” ?
    Month name is translated into local language only, not the rest of the string neither the date format.
    I would lyke to keep the Post date removing the “by authorname” part of the string.

    Thank you

    The blog I need help with is: (visible only to logged in users)

    #153251
    emilysuesrq
    Theme Author

    Hello, this will likely need to be done with CSS. Please provide a link to a page on your site where I can view your blog posts, thanks.

    #153252
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    thank you for you reply.

    You can see this page:

    https://nanuqexploration.com/2020/04/14/lockdown/

    When I put this CSS:
    .post-author {
    display: none;
    }
    all the line:
    ” Posted on avril 14, 2020 by nanuqexploration” disappears, but the goal is to obtain:

    “Posted on mmm dd, yyyy” without author mention

    I can remove author mention also by CSS but the result is :

    “Posted on mmm dd, yyy by “, which is unfair.

    Can you help ?

    Thak you

    #153264
    nanuqexploration
    Member
    Original poster

    Hi there,

    the theme is great, I would like to keep it four our blog.
    There are two points I would like to change, I try to summarize the details I can’t fix so far:
    See page https://nanuqexploration.com/2020/04/14/lockdown/

    while displaying blog posts, I would like to modify post date and author visibility (post-author class), translation and date format (local not taken in account)

    This is what we get from the theme:
    “Posted on avril 14, 2020 bty nanuqexploration”

    I would like to have it tranlated and the ability to choose whether display author name or not:
    “Publié le 14 avril 2020”
    or:
    “Publié le 14 avril 2020 par nanuqexploration”
    by having two CSS selectors and working with {display: none;}

    On the bottom of the post in the category/tag information (post-meta class), the class fa-reorder does not display anything and we have this from the theme:
    “Catégories : Escales Étiquettes : attente, bateau, port”
    I would like to have a space between “Catégorie” and the colon sign, in order to have this:
    ” Catégories : Escales Étiquettes : attente, bateau, port”

    I couldn’t success by CSS and havent been able to introduce any small javascript in the blog to fix those two details.

    Could you help on this ?
    Thank you in advance.

    #153266
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    the theme is great, I would like to keep it four our blog.
    There are two points I would like to change, I try to summarize the details I can’t fix so far:
    See page https://nanuqexploration.com/2020/04/14/lockdown/

    while displaying blog posts, I would like to modify post date and author visibility (post-author class), translation and date format (local not taken in account)

    This is what we get from the theme:
    “Posted on avril 14, 2020 bty nanuqexploration”

    I would like to have it tranlated and the ability to choose whether display author name or not:
    “Publié le 14 avril 2020”
    or:
    “Publié le 14 avril 2020 par nanuqexploration”
    by having two CSS selectors and working with {display: none;}

    On the bottom of the post in the category/tag information (post-meta class), the class fa-reorder does not display anything and we have this from the theme:
    “Catégories : Escales Étiquettes : attente, bateau, port”
    I would like to have a space between “Catégorie” and the colon sign, in order to have this:
    ” Catégories : Escales Étiquettes : attente, bateau, port”

    I couldn’t success by CSS and havent been able to introduce any small javascript in the blog to fix those two details.

    Could you help on this ?
    Thank you in advance.
    Andrea

    #153268
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    the theme is great, I would like to keep it for my site.
    There are two points I would like to change, I try to summarize the details I can’t fix so far:
    See page https://nanuqexploration.com/2020/04/14/lockdown/

    while displaying blog posts, I would like to modify post date and author visibility (post-author class), translation and date format (local not taken in account)

    This is what we get from the theme:

    Posted on avril 14, 2020 by nanuqexploration

    I would like to have it translated and the ability to choose whether display author name or not:

    Publié le 14 avril 2020

    or:

    Publié le 14 avril 2020 par nanuqexploration

    by having two CSS selectors and working with {display: none;}

    By CSS today I can suppress .post-author (the whole line) or .post-author>a (leaving

    Posted on avril 14, 2020 by …

    )

    This is only the fist point.

    Thank you for your help,

    Andrea

    #153302
    emilysuesrq
    Theme Author

    Hi Andrea,

    To remove the post author only, please try adding the following CSS:

    .single .post-author-entry {
        display: none;
    }

    However, please note that this change may not be reflected immediately. There is a theme update pending, which should be implemented soon. If the change is not immediately reflected, then it should be once the update has been pushed by WordPress.com

    Regarding post date format – this is a function of WordPress, not the theme. Therefor, you will need to adjust this within your WordPress settings, under Manage > Settings > Writing > Date and Time Format: https://wordpress.com/support/settings/writing-settings/

    I hope this helps!

    Emily

    #153308
    nanuqexploration
    Member
    Original poster

    Thank you Emily,

    I’ve implemented the CSS rule you have suggested, it seem that the theme update is not yet pushed … then I’ll be waiting for that.

    Regarding the post date format, I fear that in this case the theme does not follow the general settings of WordPress. The date format in WP is already specified

    d F Y

    an it properly works in the footer widgets when they are visible on the site. In this specific case, wathever the setting in WP the display does not change.
    Can you check if I make a mistake somewere ?

    Stay safe,

    Andrea

    #153381
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    the update works !!! Thank you.

    I note that the author field of posts in all dynamic pages

    is not translated, neither the date format, when the month name itself is translated:
    “Posted on avril14, 2020” instead of “Publié le 14 avril 2020” with the option to remove “Publié le ” by selection in a personal CSS rule {display: none; }

    The date format defined in the WP :

    d F Y

    parameters is well taken into account everywhere else.

    I cannot intervene in HTML to resolve the problem, can you help me?

    Thank you,

    Andrea

    #153436
    emilysuesrq
    Theme Author

    UPDATE: Our developers have just submitted an update that should allow your date settings to be reflected in the blog. However, this update is under review currently by WordPress.com and may take a few days to be integrated in your site.

    In the meantime, let us know if you have further questions. Thanks!

    Emily

    #153447
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    I’m glad to see that everything is progressing quickly, thank you!
    Waiting for the announced update, we don’t have new questions so far.

    Thanks again for the support.

    Andrea

    #153489
    emilysuesrq
    Theme Author

    You’re welcome, Andrea – the update will take place within your site automatically once WordPress.com releases it, which should be very soon.

    Emily

    #153678
    nanuqexploration
    Member
    Original poster

    Hi Emily,

    update is implemented since last night. Everything works properly on post date and author notification. Looks great.

    Thanks again,

    Andrea

    #153749
    emilysuesrq
    Theme Author

    That’s wonderful to hear, Andrea! You’re welcome, thanks for your patience.

    Kind Regards,

    Emily

  • The topic ‘Author & date of posts change’ is closed to new replies.