WordPress/Mandigo/FAQ/How do I create my own scheme
From onehertz
Contents |
[edit] How do I create my own scheme?
The main advantage to creating a custom scheme over modifying an existing one is that the theme remains easily updatable: this way you don't have to worry about not overwriting your changes when you update.
[edit] Procedure
Creating a new scheme is really easy:
- make a copy of one of the default schemes directories
- give the new directory the desired name
- edit/replace the files in the newly created scheme with your own
All scheme directories in which style.css exists will be detected by Mandigo and will automatically appear on the Theme Options page. They will also be included in the pool of schemes for the random scheme switching feature.
This detection mechanism also allows for some schemes to be excluded from the random switching: just delete the scheme folder or rename its stylesheet.
[edit] Default scheme structure
The following tree lists the files present in default schemes:
schemes
`-- name # scheme name (eg. blue, green, ...)
|-- images
| |-- cal_bg.jpg # gradient behind date stamps
| |-- comments.gif # comments icon
| |-- edit.gif # edit icon
| |-- head-1024px
| |-- head.jpg # header image for 800px
| |-- rss_l.gif # large rss icon
| |-- rss_l_hover.gif # large rss icon for rollover
| |-- rss_s.gif # small rss icon
| |-- search.gif # search icon
| |-- search_hover.gif # search icon for rollover
| `-- star.gif # widget bullet
|-- preview.jpg # preview for the Theme Options page
`-- style.css # style, colors
