WordPress theme development and bootstrap

I just started to explore the Bootstrap project which seems nice to use in web development. I read some articles, some of them where sceptical to the combination of WordPress and Bootstrap. This was due to the fact that (as I understand it) Bootstrap has it’s own pre defined classes that you are supposed to add to your html tags, while WordPress has another set of classes for the same elements.

I understand the problem and I would like to know if there are any “best practices” regarding this. I know that there exists plugins for this task but I like to understand this myself. I think that the trickiest part is the auto generated wp-menus and those things, am I right?

Read More

Question:
I think (without further investigation) that I in some situations want to map a wordpress class (eg. wp-menu classes) to a Bootstrap class. How do I do that?

Related posts

Leave a Reply

1 comment

  1. Twitter Bootstrap will help you to build responsive theme for wordpress quickly. You can check the following link to know the difference of major common twitter bootstrap’s classes that means when you should use which sets of class. If you want to add or alter the class of WordPress menu, you should customize the Walker_Nav_Menu class. This link will help you. You can follow the wordpress standard. And finally there are many wordpress theme development frameworks which have already bootstrap. i.e. roots, underscores and so on. I like these both.