Support » Themes and Templates » [Twenty Twelve] Delete "Leave a reply" from index pages

  • Resolved GLHQ

    (@glhq)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter GLHQ

    (@glhq)

    Thanks a lot Paul, it worked perfectly!

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

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Twenty Twelve] Delete "Leave a reply" from index pages’ is closed to new replies.