Thesis Developer Tools Box

The Thesis Developer Tools Box enables you to perform a variety of developer-related tasks through a simple interface. This article will provide a walk through of each feature in the Thesis Developer Tools Box.

Developer Updates

One of the primary features of this box is to allow Developer/Professional license holders to receive the most up-to-date version of Thesis. This is especially useful for beta testing periods.

To enable Developer Updates:

  1. Check “Use Developer Updates.”
  2. Click the green “Save Options” button in the upper right corner.

To check for updates (whether or not you have Developer Updates selected):

  1. Click the blue “Check for Updates” button.

IMPORTANT: Using “Developer Updates” will keep your version of Thesis on the bleeding edge. This may cause unintended consequences. Please do not use this Box on production sites.

Minify CSS

Selecting this option will strip out white space, comments and trailing semi-colons (where appropriate).

To enable Minify CSS:

  1. Check the “Minify CSS” box.
  2. Click the green “Save Options” button in the upper right corner.

IMPORTANT: Do not enable this feature if you are using a caching plugin, such as W3 Total Cache.

Skin Editor Options

There are two types of options in Thesis 2.1: Options that affect the HTML output (HTML class, id, etc) and Box-specific options. HTML options always appear in the Skin Editor, but for non-developers, the Box-specific options appear on the WordPress admin side.

The Thesis Developer Tools Box allows Professional license holders to force both types of options to appear in the Skin Editor. This allows for more rapid development of Skins because all options can be edited from the Skin Editor.

To enable box options on the Skin Editor:

  1. Check “Show box options in the Skin Editor.”
  2. Click the green “Save Options” button in the upper right corner.

Skin Distribution

Thesis allows developers to very easily distribute Skins built through the Thesis Skin Editor. When you create a distributable Skin, it will be in the form of a downloadable .zip file.

To create a distributable Skin:

  1. Check “Enable active Skin to be downloaded as a .zip file for distribution”.
  2. Click the green “Save Options” button in the upper right corner.
  3. Navigate to Skin > Manage Skins and click “Create Zip File.” Screen shot 2013-06-17 at 12.18.12 PM
  4. Click “Click here to download zip file.” Screen shot 2013-06-17 at 12.25.19 PM

Important: Only use this feature with Skins you created. Any other use may violate the license terms of the Skin you’re using.

Create Skin

Thesis allows Professional license holders to create a blank Skin along with the initial file structure. This gives you a quick and easy way to get started with your next masterpiece design.

  1. Click the “Create New Skin” button. This will take you to a page where you will enter the basic information for your Skin.
  2. Enter your Skin’s Name, Author, Description and Version. These fields are REQUIRED.
  3. You may also add a screenshot and, if you have a specific PHP class name, you may enter it. Image and Class are NOT REQUIRED fields.
  4. Once you have entered the required information, click “Create Skin.” Thesis will respond with a message as to whether or not your Skin was created successfully.

Your Skin will be created in the wp-content/thesis/skins/ directory and will have the following file structure:

  • /skin-name
    • css.css
    • custom.php
    • /images
    • skin.php

Skin Skeleton Data

Skin Skeleton Data is arguably one of the most requested features by Skin authors. When you “Export Skeleton Data”, Thesis gets data associated with the current active Skin and puts it into a file that can be used as a starting point for other Skins.

To export Skin Skeleton Data:

  1. Click “Export Skeleton Data.”
  2. Choose the items you wish to export. By default everything is selected, even Custom CSS.
  3. Once you have chosen all the options you wish to export, click “Download Skeleton File.” This is the file you can import to other Skins.

To import Skin Skeleton Data:

Importing Skin Skeleton Data will OVERWRITE the data of the ACTIVE Skin, so use this functionality with caution! It’s also a good idea to use the Skin Manager to make a backup first.

  1.  Click “Import Skeleton Data.”
  2. Select the Skin Skeleton Data file.
  3. Click “Import Skeleton File.”

WP Query Tester

The WP Query Tester tells you the number of database queries that were performed and the total amount of time it took to perform them. When selected, a second option will appear that will allow you to output the individual queries as they appear in the WP_Query object.