This article is aim to collect all useful tricks / tips / hacks of WordPress. The final goal is to make it a ultimate reference for WordPress users and developers. Therefor this article will be continuously updated. New tricks will added and old tricks might be modified for the latest version of WordPress.
We’ve discussed about Customize Comment_form() in WordPress with the filter: comment_form_defaults. But the problem with comment_form_defaults is that it doesn’t allow you to add class to the submit button which means you can’t style the submit button. For example, I want to use Bootstrap style button for the submit button of my theme No Newz. I can’t make that happen with this filter.
Sublime text editor is one of the best text editors for developers. I’ve been using it for WordPress theme development for years. The next version, Sublime text editor 3 is now in Beta. You can download it here and give it a try. It’s even better and has a lot of amazing features.
There are many good articles talking about how to customized Comment_form() in WordPress, like this one and this one. So I’m not going to talk about the details. I want to share with you how I stylize comment form in No Newz theme.