12-06-2007, 01:22 PM
|
#16 (permalink)
|
|
The Contributor
Join Date: Oct 2007
Location: US
Posts: 66
Thanks: 19
|
PHP Code:
WHERE wp_terms.term_id =
It looks like the $number variable isn't getting passed. However adding the ''s as david suggested seems like it would have fixed it.
And you sure it worked correctly before?
EDIT: Also, are you supposed to echo functions? I thought you just wrote it out.
PHP Code:
<?php posts_by_category(); ?>
Not
PHP Code:
<?php echo posts_by_category(); ?>
|
|
|