In this tutorial, i’ll give you the PHP code which enables you to add Place Holder Text within your comment forms input fields.
I’ll also provide some sample CSS code which you can use to modify the styling of both your placeholder text and field names.
This code works with any theme including Genesis which no longer uses the genesis_comment_form filters.
Here’s the default form without any modifications:
And here’s an example of how you can customize your form fields using the comment_form_default_fields filter WordPress provides in the core files.
Here’s the code you can copy from the view raw link and paste at the end of your child themes functions.php file.
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.