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.
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.
I’m testing the No Newz theme with WordPress’ Theme Unit Test. Some small bugs were fixed, including Calendar widget, widget with oversize image, long title in Select and columns displaying error of gallery images. These are just tiny things which can be fixed with some CSS styling. But one thing I never noticed before, there is a post which has no title. Therefore you can’t display a link on your post list(index.php) to access that post. As a result, you can’t even open the page of that post. This is kind of a problem.
I spent quite a while studying Bones and Underscores(_s) theme. There are many articles discussing these two starter themes. I personally prefer Bones to _s, because it’s much more ready-to-go.
The latest version of Bones starter theme is very friendly to the official Theme Check plugin. Eddie had done a great job to make this happen in the last update. But when I got Bones on my WordPress blog and ran Theme Check, I still found several ‘errors’ needed to be fixed. This is what I got from the plugin: