-
Notifications
You must be signed in to change notification settings - Fork 36
designguide theme finishingtouches
Begin by opening up your favorite text editor. Create a top level YAML branch named template_sets and then under that, create another YAML branch with a unique name based on the name of your theme. The following YAML key/value pairs go under that second branch. Don't worry, a copy-and-paste-ready sample is provided below.
-
author_name
- Your name. If unspecified, this falls back to the plugin'sauthor_name
value, if specified. -
author_link
- The URL to your website. If unspecified, this falls back to the plugin'sauthor_link
value, if specified. -
theme_link
- The URL to your theme. If unspecified, this falls back to the plugin'splugin_link
value, if specified. -
doc_link
- The URL to the documentation of your theme. If unspecified, this falls back to the plugin'sdoc_link
value, if specified. -
documentation
- Yes, thedocumentation
key is different from thedoc_link
key. Use this key to supply documentation right in your theme. A "Documentation" tab will appear on the Theme Dashboard where your documentation is displayed. -
description
- A description of your theme. If unspecified, this falls back to the plugin'sdescription
value, if specified. -
version
- The version number of your theme. If unspecified, this falls back to the plugin'sversion
value, if specified. -
paypal_email
- A valid email address that users can donate through PayPal to you. If unspecified, this falls back to the root keypaypal_email
value. -
about_designer
- A description of you! If unspecified, this falls back to the plugin'sabout_designer
value, if specified.
Example: template_sets: DePoClean_theme: label: 'DePoClean' base_path: 'templates' description: DePoClean converted from WordPress. License terms are the exact same as those imposed by Derek Powazek. A copy of his terms can be found in the file LICENSE.original in this theme's folder. author_name: 'OpenMelody Team, based on work by Derek Powazek (http://powazek.com)' author_link: 'http://openmelody.org' doc_link: http://openmelody.org/docs theme_link: http://openmelody.org/docs documentation: http://openmelody.org/docs blog_preferences: 'DePoClean_theme_preferences' paypal_email: test@openmelody.org about_designer: Melody is a GPL-loving group version: 1.0 thumbnail: 'depo-small.png' preview: depo-large.png
- Prev: Theme Documentation
- Next: Add jQuery-based Commenting
- Table of Contents: MTDG - Theme Designer Guide for Melody
Category: Guide
Tags: theme design
Questions, comments, can't find something? Let us know at our community outpost on Get Satisfaction.
- Author: Byrne Reese
- Edited by: Violet Bliss Dietz