in "list-category-post", The shortcode parameter options [catlist id=1,2,3],[catlist id=-99],[catlist name='TestCategory'] does not work correctly.

It shows All categories always.

How do I use "id" or "name" option? all other options are shown well. my WordPress version is 3.3.1 and use twentyten theme.

my code is blow;

[catlist id=-1,-2,-3 thumbnail=yes thumbnail_size=thumbnail orderby=date order=DESC numberposts=10 date=yes author=yes excerpt=yes excludeposts=999,1000,1001 content=no catlink=yes comments=yes morelink="Read more" categorypage=yes post_type=post]

Thank you.

link|improve this question

75% accept rate
feedback

1 Answer

up vote 0 down vote accepted

You have two conflicting parameters in your shortcode:

categorypage - Set it to "yes" if you want to list the posts from the current post's category.

And

id - To display posts from a category using the category's id. Ex: [catlist id=24]. You can include several categories: Ex: [catlist id=17,24,32] or exclude a category with the minus (-)

link|improve this answer
Thank you very much~! – JayteeHong Jan 18 at 3:27
Glad I helped! If it worked correctly, you can mark this answer as correct. – Fernando Jan 20 at 16:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.