WordPress.org

Support

Support » Themes and Templates » Wilson » [Resolved] Post Comments

[Resolved] Post Comments

  • Wonderful theme! love it!

    question: Is it possible to remove ‘COMMENTS OFF’ on the blog posts after date and author? just curious thanks.

Viewing 1 replies (of 1 total)
  • Theme Author Anders Norén

    @anlino

    Hi gralton,

    Thanks for the kind words!

    Do you mean in the post-meta (below the title)? Open content.php, go to line 43 and replace the following line:

    <?php comments_popup_link( '<span class="comment">' . __( '0 Comments', 'wilson' ) . '</span>', __( '1 Comment', 'wilson' ), __( '% Comments', 'wilson' ) ); ?>

    With the following code:

    <?php comments_popup_link( '<span class="comment">' . __( '0 Comments', 'wilson' ) . '</span>', __( '1 Comment', 'wilson' ), __( '% Comments', 'wilson' ), '', '' ); ?>

    The content within the very last pair of single quotation marks will be displayed if there are no comments. Leave it blank, and the “Comments off” text should be removed.

    Repeat the steps for content-video.php. Let me know if you need any more help.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Post Comments’ is closed to new replies.
Skip to toolbar