Help with list_posts_of_cat
-
Hi there. I don’t know what I’m doing. Is anybody using David Chait’s list_posts_of_cat hack in version 1.2?
I’m trying to use it outside the loop, and I just can’t figure out how to feed it. I want to display a list of the entries in category 2.
I’ve tried
echo list_posts_of_cat(array("2"),5,5);
echo list_posts_of_cat(2,5,5);
echo list_posts_of_cat(array("category_id" => "2",5,5);
I’ve even tried
echo list_posts_of_cat(get_the_category($cat='2'), 5, 5);
And all sorts of other ludicrous stuff. What can I say? I’m an artist.
All I get is “No Matching Entries”, and there are! There are! Can anybody help me?
Cheers,
Anthony
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Help with list_posts_of_cat’ is closed to new replies.