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

Chapter 9. Working with Less in a CMS

Working in a CMS…Ah, choices, choices…!

Question: what do the following have in common—Facebook, Beyoncé, Sony, Dallas Mavericks NBA basketball team, and Time?

Worked it out? Well, it's the subject of our next chapter in our journey of learning Less. They all have blogs or sites created using WordPress! Created back in 2003, WordPress has become one of the world's most well-known content management system platforms, used in dozens of scenarios, from simple blogs to full-blown e-commerce systems.

Throughout the next few pages, we're going to learn how to incorporate our favorite CSS preprocessor into WordPress and some of the tricks we can use to help simplify the creation of style sheets. The best bit—most are tricks we've already covered throughout the book so far; we're just going to adapt where we use them.

In this chapter, we will cover the following topics:

  • An overview of the WP theme structure

  • Incorporating Less into pages

  • Some examples of converting...