xyzee
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
No worries! Many thanks for your time!
Hmm, I must be missing something then…
“Comment author must fill out name and email” is disabled.
I removed the email field:
add_action( 'after_setup_theme', 'tu_add_comment_url_filter' );
function tu_add_comment_url_filter() {
add_filter( 'comment_form_default_fields', 'tu_disable_comment_url', 20 );
}
function tu_disable_comment_url($fields) {
unset($fields['email']);
return $fields;
}I just tested, posted a comment. (This is on another browser profile.) It’s just the comment with the Name and URL fields blank. It went through and Name became “Anonymous.”
Hi Ying, thanks for your reply!
Yes but that makes the name field optional…
I’m guessing there’s another snippet needed after disabling that option?
Forum: Plugins
In reply to: [LiteSpeed Cache] “Page cache is not detected…”That indeed was the culprit. Thanks so much!
Viewing 4 replies - 1 through 4 (of 4 total)