WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Twenty Twelve] Delete "Leave a reply" from index pages (4 posts)

  1. GLHQ
    Member
    Posted 1 year ago #

    Hi everyone

    I would like to delete the "Leave a reply" line from my index and category-archive pages (which show an excerpt rather than the full content) while leaving it in the actual post. Could anyone help?

    Using WP 3.5 with 2012 child theme.

    Thanks in advance.

  2. paulwpxp
    Font hero
    Posted 1 year ago #

    CSS to "display none" the Leave a reply link from home and archive

    .home .entry-header .comments-link ,  .archive .entry-header .comments-link {display:none;}

    for category archive only, change .archive to .category

    FWIW, Twenty Twelve display excerpt on searh archive only, all else it display full content cut with "read more" tag if used.

  3. GLHQ
    Member
    Posted 1 year ago #

    Thanks a lot Paul, it worked perfectly!

    Fortunately, I had already solved the excerpt issue thanks to other posts in this forum.

  4. IWannaBlog
    Member
    Posted 10 months ago #

    CSS to "display none" the Leave a reply link from home and archive

    .home .entry-header .comments-link , .archive .entry-header .comments-link {display:none;}
    for category archive only, change .archive to .category

    FWIW, Twenty Twelve display excerpt on searh archive only, all else it display full content cut with "read more" tag if used.

    Paul, pardon me but which CSS are you referring to here?

Topic Closed

This topic has been closed to new replies.

About this Topic