Title: Hide Show Toggle Button for comments
Last modified: December 29, 2017

---

# Hide Show Toggle Button for comments

 *  [guptapranky](https://wordpress.org/support/users/guptapranky/)
 * (@guptapranky)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-show-toggle-button-for-comments/)
 * Hello,
 * Thank you so much for reading.
 * I am using Zinnias lite theme.
 * I want to add a toggle button or some option to collapse the comments. If someone
   wished to read, they can click this button to show the comments. I am using wordpress
   comment functionality. No specific plugin installed.
 * Is it possible?
 * I have read and explored around the internet and forums for this but have not
   found anything concrete.
 * Would really appreciate if someone could help me on this.
 * Thank You,
    Priyanka
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhide-show-toggle-button-for-comments%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-show-toggle-button-for-comments/#post-9818466)
 * You could try asking in the theme’s dedicated forum. There might be an easy theme
   specific method. I see your other question there from months ago went unanswered.
   Your reluctance to repeat this is understandable.
 * There is some native functionality for comments in a [pop up window](https://codex.wordpress.org/Template_Tags/comments_popup_link).
   You might be able to adapt it to your theme by creating a child theme.
 * You could build some sort of collapsing scheme using the jQuery [accordion script](https://jqueryui.com/accordion/).
 * On a basic level you only need a container for the comments and a button element
   to click on. Use JavaScript to toggle the `display:` style of the container back
   and forth between `none` and `block` every time the button is clicked.
 *  Thread Starter [guptapranky](https://wordpress.org/support/users/guptapranky/)
 * (@guptapranky)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/hide-show-toggle-button-for-comments/#post-9819802)
 * Thanks bcworkz for replying and understanding.
 * Yes, I am not sure if I should continue using the same theme or change. I like
   the theme’s design though.
 * Thanks for your suggestions. I will read and understand. I haven’t yet created
   a child theme. I use the add custom css plugin.
 * Maybe, I should. It would give me more customizing power. Your advice sounds 
   great but I would have to understand many things to be able to implement this.
 * Really appreciate it.
 * thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Hide Show Toggle Button for comments’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [guptapranky](https://wordpress.org/support/users/guptapranky/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/hide-show-toggle-button-for-comments/#post-9819802)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
