Sauter la navigation

[Résolu] Disabling comments

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:

The issue here is that the user wanted to disable comments for his posts.

Solution:

You can disable the comments by going to each post and quick edit it and then ensure "allow comments" is not checked.

Finally go to Types and edit the CPT to ensure that no more posts created will not have any comments.

This support ticket is created Il y a 6 années et 6 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Ce sujet contient 6 réponses, a 2 voix.

Dernière mise à jour par johnB-37 Il y a 6 années et 6 mois.

Assisté par: Shane.

Auteur
Publications
#922624

Hi there,
I have a custom post type called "Citations."
I would like to disable comments for this post type, but I'm not sure where to do it.
Also, I 'd like to disable the pager that appears at the bottom of the page (previous citation/next citation)

A sample citation is here:
lien caché

Thanks!

#922671

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi John,

Thank you for contacting our support forum.

This can be done by going to your CPT and scrolling down to Sections to Display when Editing.

From here just ensure that the checkbox for comments is unchecked.

Thanks,
Shane

#923078

Hi Shane,
I have unchecked the comments checkbox but I'm still seeing the "Leave a Comment" form on the front-end. I don't want people browsing the site to be able to leave a comment.
Thanks!

-John

#923156

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi John,

Would you mind providing me with admin access to the website so that I can have a look at this for you?

Could you let me know which CPT it is as well.

Thanks,
Shane

#923165

Also, the CPT is Citations

#923187

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi John,

I was able to replicate this issue on a fresh install. However you can disable the comments by going to each post and quick edit it and then ensure "allow comments" is not checked.

Finally go to Types and edit the CPT to ensure that no more posts created will not have any comments.

Thanks,
Shane

#923189

Ok, I see, it won't go back and disable comments on posts already created. That makes sense. Thanks Shane!