Getting Started on the Buffet Framework – Part 1

In this tutorial, I will be showing you how to start developing a child theme based on the Buffet Framework. You’ll need:

  • Text editor (Notepad will do, but you might want to use code editors like Notepad++)
  • Local web development server (I highly recommend you do it on a local web server before using it on a production server. XAMPP or WAMP will do)
  • FTP client (If you want to upload files to your web server. FileZilla would be a good choice for me)

The CSS Stylesheet

Like all child themes, the first thing you will need to do is to create a folder in /wp-content/themes/ and name it as you wish. Next, you will need to create a file called style.css inside the folder you have just created.

You will need to add the following codes into the file:

/*
Theme Name: Theme Name
Theme URI: http://www.zy.sg/
Description: Child Theme of the Buffet Framework
Version: 1.0
Author: Me, myself and I
Author URI: http://www.zy.sg/
Template: the-buffet-framework
*/

You can edit any of the theme information here, except for the Template line. It tells WordPress that you are using the template files from that folder as the parent.

Once that is done, you can import in the framework CSS files. For example, I can import the Blueprint CSS stylesheets which are bundled with the framework. To do it, you will need to add the following lines:

/* Import Blueprint CSS styles */
@import url('../the-buffet-framework/css/blueprint/reset.css');
@import url('../the-buffet-framework/css/blueprint/typography.css');
@import url('../the-buffet-framework/css/blueprint/forms.css');

The framework comes bundled with the layout stylesheets from Thematic. So for example, I would like my basic layout to be a 2 column layout, with the sidebar to the right:

/* Import custom layouts (located at /css/layouts/) */
@import url('../the-buffet-framework/css/layouts/2c-r-fixed.css');

Once you are done, you can continue to style the theme to the way you would like it. You can also copy over all the styles from the default stylesheet at /wp-content/themes/the-buffet-framework/style.css and edit from there.

You can view and activate the theme from the Themes page over at the WordPress admin panel if you have done it correctly.

You can basically stop here right now, but if you need to add and edit content to the existing child theme, you will need to use the theme hooks to do it. I will cover this on the second part of the tutorial.

Twitter Background PSD Template

Just yesterday, I was trying to come up with a new background for my Twitter profile. As usual, when I start on working something, I always start looking for some templates or frameworks to work over it, to save as much time as possible. Eventually, I decided to create a background template for myself:

Preview of Twitter Template

Basically, everything is been created from scratch, which means you can edit the background, sidebar, the text and almost everything (except the logo and the RSS feed icon).

Photoshop Layers

The layers have been named and organized into folders, mainly the two: editable and non-editable. The layers in the editable folder are the ones which Twitter allows you to change (sidebar borders, link text).

Download the psd file

You can download the PSD file here: Download

(I created this using Photoshop CS4, but I’m not sure whether this will work well on previous versions)

If you have created a twitter background using this template. Be sure to tweet about it to me (@zyml)!

CSS Naked Day!

In case you are wondering what happened to the site’s design, or rather why many sites do not have their stylesheets on: it’s CSS Naked Day!

The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words.

Announcing the Buffet Framework

When I first started on developing the 1.2 update for Arras.Theme on December, I had a thought on developing a framework that the theme could run on.

Now finally, after four months of research and work, I present to you the Buffet Framework,  a yet another WordPress theme framework. And yep, this site is running it (as well as the default design). It’s another one of my little experiments with WordPress theme development.

The idea behind the Buffet Framework is that it’s designed for news and magazine blogs, not only for the theme developers who will be using the theme actions and filters to create the child themes, but also for the end users who would be able to add and remove what they want.

Download the Buffet Framework

You can download the theme through here: http://wordpress.org/extend/themes/the-buffet-framework

I will try to post up the theme actions and filters reference soon. If you have encountered any bugs or have any suggestions about the framework, I would appreciate it if you could post it up at the project page. You can also svn checkout the trunk to keep up with the development of the theme (might be unstable).

I hope this framework can be useful for others!

More Information

http://www.zy.sg/the-buffet-framework/

Arras.Theme Site & Arras.Theme 1.2 Update Live!

Arras.Theme official site is now live, check it out at http://www.arrastheme.com/!

A reminder to affiliates, I have sent an email on updates to the affiliate program. If you have not receive it, please contact me.

Arras.Theme 1.2 update will be issued to existing customers in a few hours, with instructions on how to activate the site account and get your update.