04 Nov 2008

Untitled

Not updating for quite a long time. Well, I’m not the only one but almost everyone that I knew…

I wonder why? Other commitment maybe?

11 Jul 2008

WordPress Olive T-Shirt

WordPress Olive t-shirt

Grab yours at WordPress Shop now.

17 May 2008

k9

UPDATE: A newer version to support the latest version of WordPress (2.8) will be release soon. If you’re interested to get an early copy, do shoot me an email.

Download k9 WordPress theme. Only compatible with WordPress 2.5 and above.

Features

  • Custom Header
  • WordPress Widgets

Screenshot

10 May 2008

iTerm keep-alive

This is a note to self on how to enable iTerm keep-alive or anti-idle option.

  1. Open iTerm. Go to Bookmarks → Manage Profiles… .
  2. In Profiles window, browse to Terminal Profiles and expand the menu by clicking the triangle. Choose and click on Default.
  3. Tick the “When idle, sends ASCII code” and set its value to 20 (ASCII for space).
  4. Exit the Profiles window.
09 May 2008

WordPress Comment Form Skip Link

Skip link (or Skip Navigation link) for comment form is really important when your entry has a lot of comments. But there’s no point in having one when your comment form is just few pixel away after the entry.

This is how you can show the skip link if the comment reach n number of comments. Example below will make the skip link appear if 1) comment status is open 2) comment count is more and equal to 4.

  1. Open your Theme’s comments.php file.
  2. After <?php if ( have_comments() ) : ?> (or anywhere you find suitable) paste these lines:
    <?php if ( comments_open() && ( 4 <= get_comments_number()) ) : ?>
    	<a href="#respond">Skip to comment form</a>
    <?php endif; ?>
    

    Example:

    <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to &#8220;<?php the_title(); ?>&#8221;</h3>
    <?php if ( comments_open() && ( 4 <= get_comments_number()) ) : ?>
    	<a href="#respond">Skip to comment form</a>
    <?php endif; ?>
    

    Don't forget to style the codes to match your layout.

  3. Finally, make sure that an element with ID attribute respond is added or assigned. For example:
    <h3 id="respond">Leave a Reply</h3>
    

    Preferably right before the comment form.

    Using named anchor (<a name="respond" id="respond"><a/>) is outdated but still possible.

30 Apr 2008

Iron Man

I’ve been listening to Black Sabbath’s “Iron Man” song over and over again.

09 Apr 2008

Feedless WordPress

While everyone is trying to increase their RSS / Atom subscribers, this is how you can offer no feed to your readers on your WordPress.

  1. Go to Settings → Reading sub-panel.
  2. Under Syndication feeds show the most recent is set to -1 (negative 1) posts.