• 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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    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. 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.

    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

    (@guptapranky)

    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.