Support » Fixing WordPress » Gallery comments – turning them off
Gallery comments – turning them off
-
831656
While posting a comment we are facing problems regarding images.So, how can i come out of that problem.
=================
aylen
orkutAnybody who has an informative response to my original question?
Any ideas on this?
*bump*
I have a post with a gallery included in it. I’ve now turned off the comments for that particular post, however when clicking on individual photos there is still the option to leave a comment.
How do I go about turning off comments for that gallery without getting rid of the comments template in the image.php template (i.e. so other galleries can still receive comments on individual photos)?
Is there a way of doing this? It would seem rather odd if there isn’t a way.
*bump again*
Anybody at all?
Just turn off all comments/trackback in Settings > Discussion. You have option to open comments/trackback per post later on. Good luck.
Using that approach, how would you turn ON comments for the photos within a gallery? The issue is with turning comments off (and on if you follow that approach) for individual photos in a gallery, or rather a whole gallery. The parent post is no problem with turning comments on & off, however the problem I’m talking about is with turning comments off in a gallery.
If you turn off the comments of the parent post, then gallery comments remain on – I would like for people to have the ability to comment on the individual photos, however I am also looking for the ability to turn off comments on some galleries (e.g. when the post has been there for a while, or when I don’t wish for comments availability).
the easiest thing to do is just copy everything in your single.php file and paste in into a new file called image.php
On image.php just remove the tag that calls for the comments … upload, and viola.
That’s how i have it set up on my site
The individual photos of the gallery/ies already appear in an image.php file. But if I remove the tag that calls for comments, then people can’t leave comments.
I don’t want it to be either all no comments, or all comments. I am looking to be able to choose when comments can be left, or can’t be left, just like in the parent post – the ability to turn off (or on) comments in a gallery.
- The topic ‘Gallery comments – turning them off’ is closed to new replies.
(@mojorob)
15 years, 7 months ago
I have a post with a gallery included in it. I’ve now turned off the comments for that particular post, however when clicking on individual photos there is still the option to leave a comment.
How do I go about turning off comments for that gallery without getting rid of the comments template in the image.php template (i.e. so other galleries can still receive comments on individual photos)?