Thesis Skin API

Although they are similar to WordPress themes, Thesis Skins are more powerful because of all the functionality they inherit right out of the box.

Skins are deeply integrated into both WordPress and Thesis, giving you the ability to create admin pages, manage options, and exercise precise control over content.

To tap into the awesome power of the Thesis Skin API, you must first create a Skin.

Create a Thesis Skin

Just like Boxes, Thesis Skins are a classic example of object-oriented programming (OOP). Through the concept of inheritance, every Skin receives basic functionality and access to the awesome Skin API.

class my_skin_class_name extends thesis_skin {
	/* Skin properties and methods go here */

In PHP, object inheritance is achieved through the extends keyword, as seen in the above snippet. In this case, thesis_skin is the base Skin object—it contains all the basic Skin functionality coupled with the Skin API, which can be used by the extending object (your Skin).

Now that your Skin is alive and kickin’, let’s take a closer look at the Skin API and what you can do with it.

Skin API Components: How to Build a Dynamic Design

Unlike Boxes, all Skin properties and methods are optional. Because of this, your Skin could, in theory, be no more complicated than the example code shown above.

However, if you want your Skin to be dynamic and interesting, you’ll need to add some options. Lucky for you, the Thesis Skin API makes this process both easy and fun.

Design and Display Options


  • $design — array of currently-selected Design Options (if applicable)
  • $display — array of currently-selected Display Options (if applicable)
  • $functionality — initiate optional functionality and override certain default Skin behaviors