Book Image

Learning less.js

Book Image

Learning less.js

Overview of this book

Table of Contents (22 chapters)
Learning Less.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Phew! We've covered a lot in this chapter! Let's take a moment to consider what we learned.

We kicked off our foray into using Less with WordPress with a quick recap of the structure of each WordPress theme, where we examined the basic files you will see within the TwentyFourteen core theme and covered the basics of what you need for each exercise in this chapter.

We then started our development work with a look at creating a child theme and the reasons for doing so; we then learned how to add Less support to your function file within the theme.

We took a quick sidestep to see how we can tailor the import for specific users; this will be useful if you are developing as an admin locally, while leaving others to use the compiled CSS style sheet file.

We then moved on and took a look at how to import Less using a plugin. We saw how in most cases, this would be preferred, but that in a plugin-heavy site, it might be wiser to simply import it using the functions.php file.

We followed this...