Question

How can I disable comments on all already existing nodes and disable comments by default for all content_types?

Était-ce utile?

La solution

  1. Run the following SQL query to disable comments on all existing nodes:

    UPDATE node SET comment=0  WHERE 1;
    
  2. Go to /admin/content/types -> Edit each content_type -> Disable comments by default

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top