Site logo

Archived topic

How to change DEFAULT Wordpress "comment box" "placeholder text"

12 replies · Started by albabes on May 29, 2019

Viewing posts 1–13 of 13

How to change DEFAULT Wordpress "comment box" "placeholder text"

Thanks
AL

I tried this code from wpbeginner, using SNIPPETS plugin, with with option:
Run snippet everywhere

function wpbeginner_comment_text_before($arg) {
    $arg['comment_notes_before'] = "PLEASE NOTE. SHNA board members may or may not respond to posts or comments.";
return $arg;
}
add_filter('comment_form_defaults', 'wpbeginner_comment_text_before');

Don't think that's the default - Activated a twenty series WP theme and don't see a placeholder text either.

I'll check with Tom on how to add one :)

I think its "Settings/ Discussion" dependant, or Jetpack dependant Leo/Tom

Yup should be coming from somewhere else.

I did a fresh install with twenty series theme without any plugins and don't see a placeholder text.

You are welcome to test.

The window expanding when click is definitely not WordPress' default menu system.

The code also confirmed that it's from a plugin:
https://www.screencast.com/t/hymNZfeaN

Hope this helps!

Menu? Who's talking about menus Leo?

Im taking about Comment Box, on a post, in an unclicked state.
comment box

That was a typo. I meant to say comment box.

Did you see my screen capture? That should explain everything.

You can also right-click on the comment box and use the browser inspect tool then check the CSS style. Should be able to see that they are all coming from a plugin.

This archived topic is closed to new replies.