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

Developing your WordPress theme with Less


In this recipe, you will learn how to extend and customize the Twenty Fourteen WordPress theme with Less.

Getting ready

The Twenty Fourteen theme is a free WordPress theme shipped with the default WordPress installation. For a fresh installation, this theme has been set as the default theme. However, if you have activated another theme already, you will have to reactivate the Twenty Fourteen theme in your dashboard. Navigate to Appearance | Theme Options in your dashboard and do this now.

This recipe also requires that the command-line lessc compiler, as described in Chapter 1, Getting to Grips with the Basics of Less, is installed. If the web server used for production does not have the command-line lessc compiler installed, you can compile the Less code on your local machine and upload only the results to your web server.

How to do it…

  1. In the main directory of your WordPress installation, navigate to wp-content/themes/twentyfourteen/ and create a new...