Categories
Blog design Blogs Open source

Announcing nautica-magazine WordPress theme for webzines

To those who were waiting for this theme, I apologize for the delay in the release. I had to wade through various folders to get the latest version of the code because I was working on two sites using this theme at the same time.

I have since been using Subversion via a free project management account with Unfuddle (check my previous post) to make sure that the files are organized. If anyone is interested in helping improve this theme, leave me note so that I’ll host the files in Google Code and we can work on it together.

Nautica-magazine is a WordPress theme based on the nautica05 open source template. It doesn’t work out-of-the-box because you need to edit the index page to make it work with your site’s sections or categories. Read the included readme.txt before activating the theme.

The index page of the theme doesn’t display articles chronologically. Instead, it displays content blocks: articles grouped into sections.

Here’s a preview of the theme in my sandbox site.

You need to edit the <?php $posts = get_posts( "category=4&numberposts=3" ); ?>, replace the category number with the category ID of your section, which you can get by going to Manage then Categories in your dashboard. If you want to increase or cut down on the number of stories published in each section of the home page, edit the numeral after numberposts in the code.

If you want to publish only the headlines in the article blocks, delete the <?php the_content("Continue reading '" . the_title('', '', false) . "'"); ?> part of the code.

Content blocks

The first block is the banner story. Technically, the banner story is also a member of one of the category blocks in the index page but to prevent the story from being published twice (as banner and as part of one of the section blocks), do not place the banner category in any of the sections displayed in the front page. Place the banner story in its correct section only after a new banner is published. You don’t have to uncheck its banner assignment (unless you increase the number of banner stories for publication) because the default value publishes only the latest story in the banner category.

The next blocks are for sub-sections. Just copy the article block code if you want to add more sections.

Photo captions

The stylesheet contains div classes for presentation of photographs with captions, the instructions are in the readme.txt file that comes with theme. To view an example of its usage, you can check this article on a beach resort in Cebu.

Download

You can download the theme here. Click on the arrow beside nautical-magazine and choose zip folder. Updates will be posted on the Nautica-magazine page.

Comments / Suggestions

Please leave your comments and suggestions here. Again, if you’re interested to help improve this theme, leave me a note. I am still working on the theme. I want to include a template on custom categories to make your category pages mimic webzine sections. I’m also working on including search, the hacked index.php seems to get in the way of displaying search results.

By Max Limpag

Max is a journalist and blogger based in Cebu City, Philippines. He is co-founder of the journalism start-up InnoPub Media.