What is wrong with my wp query? Trying to exclude category 14

query('showposts='.$display_count.'&orderby=comment_count&category__not_in=14');

I do a standard query and it still wont leave out posts that are in category 14.

Answers


query('showposts='.$display_count.'&orderby=comment_count&cat=-14');

Need Your Help

Getting exception java.lang.NoClassDefFoundError : org.aspectj.weaver.patterns.IScope

java spring-mvc spring-aop

I am running a Web Portlet project with Spring MVC framework. I am trying to do Auditing with the help of AOP. but when i am running the application i am getting 2 exceptions at different points......

Reset the Authenticator credentials

java

We have a static method in a utility class that will download a file from a URL. An authenticator has been set up so that if a username and password is required, the credentials can be retrieved. ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.