I have a series of posts (using a wp-zoom theme). I would like to create a custom field called order and sort by that field.
Here is part of my homepage code:
<?php
$z = count($wpzoom_exclude_cats_home);
if ($z > 0) {
$x = 0;
$que = "";
while ($x < $z) {
$que .= "-".$wpzoom_exclude_cats_home[$x];
$x++;
if ($x < $z) {
$que .= ",";
}
}
}
query_posts( $query_string . "&cat=$que" );
if (have_posts()) :
?>