I'm having trouble disabling/removing comments from pages & posts. Within Genesis Theme Settings, neither comments or trackbacks are enabled. Within the Page settings, there is no option to disable the comments.
How do I change the functions code to do this?
You can disable the comments in the Discussion Settings under Default Article Settings
Allow people to post comments on new articles
And also add this code to your child themes functions.php if you want to remove the comments form.
remove_action( 'genesis_after_post', 'genesis_get_comments_template' );
Thank you! The tutorials didn't seem to work, but the code was perfect.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!