Customizing Hemingway

Custom styles

Creating custom styles for hemingway is a sinch. Just create a CSS file with your own custom styles, and throw it in the "styles" directory of the hemingway theme. Your CSS file will show up in the Hemingway Options dropdown. Once you select this CSS file it will be applied to Hemingway. Hemingway currently ships with one custom style, "white.css"

Creating blocks for hemingway

Hemingway blocks are sections of content and functionality that show up in the bottom bar of Hemingway. To create a new one (with say, plugin functionality) is really easy. Just use the snippet of HTML you'd usually use for the plugin, and put it in a new file under the "blocks" directory of the hemingway theme. After you do this, the Hemingway Options page will show that you have uninstalled blocks at the bottom of the page. Once you install it, you can put the block wherever you want! Easy as pie.

Here's the entire contents of the Category Listing block:

<h2>Categories</h2>
<ul class="counts">
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
</ul>