I am looking to use a build in (no plugin) button code that can toggle to show/hide the comments. It should just show all the comments template once you click the button and keep the “show” statement until you eventually choose to click “hide”.
If the button only is beeing diplayed when the post allows comments would be a bonus. In other words I would not like to button the be shown at all if the posts doesnt allow commeting.
The onces I tried to build hasn´t worked out very well. The code will be implemented in single.php and use of jquery is fine with me. Any suggestions?
I would be greatful!
- The topic ‘A simple show/hide comments button?’ is closed to new replies.