• I don’t use comments on my blog posts, making the comment counter at the bottom of posts irrelevant. Is there a way to have just the date down there?

Viewing 1 replies (of 1 total)
  • 1. ) Open functions.phpin your theme folder. Find this (line 627 to 628):

    printf( '<span class="meta-post-date"><strong>%s.</strong>%s</span> <a href="%s"><div class="meta-comments-count"><span aria-hidden="true" class="icon_comment_alt"></span>%s</div></a>',

    Replace with:

    printf( '<span class="meta-post-date"><strong>%s.</strong>%s</span> <a href="%s">',

    2.) Just below you will find this code:

    esc_url( get_permalink() ),
    sprintf( _n( '1', '%1$s', get_comments_number(), 'Serene'), number_format_i18n( get_comments_number() ) )

    Replace with: esc_url( get_permalink() )
    (we are just deleting the comment count here) and save.

    3.) Open up the style.css file find the following classes and remove them (or modifiy them):
    line 319: .post:hover .meta-post-date
    line 372: .post:hover .meta-post-date (yes, same name as line 319)

    Save.

    The best way is to use a child theme for modifications. More in the codex: https://codex.www.ads-software.com/Child_Themes

    Cheers
    /Christopher
    (i’m not affiliated with the theme author if someone wonder.)

Viewing 1 replies (of 1 total)
  • The topic ‘Eliminate Comments Animation’ is closed to new replies.