[wp-hackers] New Approach to Asides

Matthew Mullenweg m at mullenweg.com
Wed Dec 22 20:17:16 UTC 2004

Mathias Bynens wrote:
> <?php if (('short' == ($post->post_type)) && !$single) { ?>

If you think it's about length, then take that to its logical conclusion:

<?php if ( strlen($post->post_content) < X && !is_single() ) { ?>

In fact I might do that...

For me though it's an emphasis thing, I make some short posts more 
important that others. If we didn't have multiple categories then it 
would be an abuse of the category system, but we do so I think it's not.

Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://cnet.com

More information about the hackers mailing list