Book Image

LESS WEB DEVELOPMENT COOKBOOK

Book Image

LESS WEB DEVELOPMENT COOKBOOK

Overview of this book

Table of Contents (19 chapters)
Less Web Development Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Integrating Bootstrap into your WordPress theme


Plugins add additional functionalities to your WordPress website. The WordPress Twitter Bootstrap CSS plugin adds, as its name tells you already, the Bootstrap CSS to your website. This plugin ships with a built-in Less compiler that enables you to configure Bootstrap to fit your needs by setting up the Bootstrap variables.

Getting ready

You can read more about Bootstrap and how to extend and configure it with Less in Chapter 9, Using Bootstrap with Less. You need to download and install the WordPress Twitter Bootstrap CSS plugin, which can be found at https://wordpress.org/plugins/wordpress-bootstrap-css/. For this recipe, you need to activate a theme that does not use Bootstrap already. You can use the Twenty Fourteen theme shipped with WordPress by default.

How to do it…

  1. After installing the plugin, you will find a Twitter Bootstrap option in the side menu of your dashboard. You should enable shortcodes and Less under the Bootstrap CSS option...