Thank you so much for trying to help me! I followed your instructions and added your code. This is how it looks now:
}
else { // Comments are closed
$message_disabled = false;
if (is_page() && isset($suf_comments_disabled_all_sel) && $suf_comments_disabled_all_sel == 'all') {
$message_disabled = true;
}
else if (is_page() && isset($suf_comments_disabled_all_sel) && $suf_comments_disabled_all_sel != 'all' && isset($suf_comments_disabled)) {
$disabled_pages = explode(',', $suf_comments_disabled);
if (is_array($disabled_pages) && count($disabled_pages) > 0 && in_array($post->ID, $disabled_pages)) {
$message_disabled = true;
}
}
else if (is_singular() && !is_page() && $suf_comments_disabled_msg_for_posts == 'hide'){
$message_disabled = true;
}
if (!$message_disabled) {
echo "<p>";
_e('Sorry, the comment form is closed at this time.', "suffusion");
echo "</p>";
}
if (false && !$message_disabled) {
echo "<p>";
_e('Sorry, the comment form is closed at this time.', "suffusion");
echo "</p>";
}
It didn’t help… Did I do something wrong?
I’m really confused because I’ve used the same theme since I started with WP, and I already built two related sites–both with comments blocked. This problem started happening suddenly after publishing nearly 150 pages for the EDD one, and now all new pages have this unwanted message. I tried disabling all recent plug-ins, and that didn’t change anything either.
This is clearly not an EDD problem–maybe someone at the theme forum will be able to help.
Thank you again for your kindness, Anna