How to change comment is awaiting moderation text in StudioPress Genesis

If your site allows comments, you may want to set it up to where you have to approve comments before they appear on the site. When this setting is enabled, commenters see a message after posting a comment telling them that their comment is awaiting moderation. You can change that comment awaiting moderation message text in StudioPress Genesis. Just add this WordPress Code Snippet to the functions.php file in your current WordPress theme in order to change the comment is awaiting moderation text to a custom message.

/**
 * Change comment is awaiting moderation message
 *
 * @author WPSnacks.com
 * @link http://www.wpsnacks.com
 */
add_filter( 'genesis_comment_awaiting_moderation', 'change_genesis_comment_awaiting_moderation' );
function change_genesis_comment_awaiting_moderation() {
return 'PUT YOUR CUSTOM MESSAGE HERE';
}

That’s it, just change the “PUT YOUR CUSTOM MESSAGE HERE” text to whatever you want your awaiting moderation message to be and now your commenters will see your custom message instead of the default comment is awaiting moderation text. Hope this helps, enjoy!

   Related Sponsored Links

Disclaimer: The information contained in this website is for general information purposes only and in no event will this site or its owners be liable for any losses or damages associated with your use of our site or content. Click here to see our full Disclaimer.

Leave a Comment

*