To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion
| <?php | |
| // Do NOT include the opening php tag. | |
| // Adds support for editor color palette. | |
| add_theme_support( 'editor-color-palette', array( | |
| array( | |
| 'name' => __( 'Light gray', 'genesis-sample' ), | |
| 'slug' => 'light-gray', | |
| 'color' => '#f5f5f5', | |
| ), |
To setup your computer to work with *.dev domains, e.g. project.dev, awesome.dev and so on, without having to add to your hosts file each time.
| <?php | |
| /** | |
| * Change the post order for listings | |
| * | |
| * @author Carrie Dils | |
| * @link http://www.billerickson.net/customize-the-wordpress-query/ | |
| * @reference http://codex.wordpress.org/Class_Reference/WP_Query | |
| * | |
| */ |