WordPress.org

Ready to get started?Download WordPress

Forums

twentyten don't show "comments off" (8 posts)

  1. algirdas
    Member
    Posted 1 year ago #

    On the blog page, I would like to either disable or not show "comments off" at the bottom of the post. Where andhHow do I do that?

    http://www.phillypolicy.org/index.php/events/

    I've searched and tried various solutions but haven't been able to make them work.

    Any help would be appreciated

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Have you a Child Theme?

  3. algirdas
    Member
    Posted 1 year ago #

    Not yet, but I could create one.

  4. Mohd Rafie
    Member
    Posted 1 year ago #

    The fastest but not idea way is CSS:

    .meta-sep, .comments-link {
    display: none;
    }
  5. algirdas
    Member
    Posted 1 year ago #

    Thanks mohdrafie, but that didn't work.

  6. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    edit loop.php;

    find (appears twice) and edit:

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>

    change (both occurences) to:

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ),'','' ); ?></span>

    http://codex.wordpress.org/Function_Reference/comments_popup_link

  7. algirdas
    Member
    Posted 1 year ago #

    Thank you alchymyth! That worked!

  8. algirdas
    Member
    Posted 1 year ago #

    If I could tap your knowledge some more, how would I edit this to:

    1) Totally eliminate the "Posted in [category] | Comments closed | Bookmark the permalink" footer to the post?
    2)Totally eliminate the "Posted on [date] by [user] " below the post title.

    You're helping me get a handle on this!

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic