Follow me at Twitter Arras Theme 1.4.1 is now live! http://bit.ly/CZsXx 1 day ago

WP-PHPQuickProfiler: WordPress Plugin

About a day or two ago I stumbled on a blog post from Web Resources Depot talking about PHP Quick Profiler (PQP), which they called it a ‘Firebug for PHP’. I liked its interface and thought if only it could work in WordPress. After a few hours of hacking and tweaking I managed to port the tool as a WordPress plugin.

FireShot capture #3 - 'WordPress Development I Just another WordPress weblog' - localhost_wordpress_#

Here are some of the tweaks I’ve made from the original script:

  • Tweaks to the CSS, JS (uses jQuery instead)
  • Edited the database logging functions to work with WordPress’ database class
  • Appears only when the current user viewing has admin privileges (can be turned off)
  • Uses WordPress’ logging functions to maximize accuracy

I can’t guarantee its accuracy on this plugin though. If you wish to get really really accurate results I suggest you use other tools such as xDebug instead.

For more information about this plugin, check out the official page.

The Buffet Framework 0.5.3 Now Available

A new build of the Buffet Framework (0.5.3) is now available. This build contains new features and tweaks, which include the support for WordPress MU and additional new filters.

key features

  • WordPress MU Support – Added options for site owners to allow regular user accounts from accessing the theme options and extensions panel
  • New Extension: SearchHighlight – Based on the tutorial at Weblog Tools Collection. This extension highlights search terms in the search results page
  • Additional Filters – bf_document_title, bf_rss_url, bf_comments_rss_url, bf_breadcrumb_prefix allows you to further customise your child theme.
  • Bugs & Fixes

Download the Buffet Framework

20+ WordPress Specific Websites

Here’s a list of websites that I frequent to know more about WordPress, other than WordPress.org itself. I will be updating this post often. Of course, if you do have a site to recommend, feel free to post a comment here or tweet back to me. I would appreciate that! Read More…

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)!

Page 3 of 1012345...Last »