1642 posts
  • Power Elite Author
  • Featured Author
  • 7 Years of Membership
  • Author Level 12
+8 more
fuelthemes
says

With WP 3 .1, we can’t use $query_string like:

query_posts( $query_string . ‘&cat=13 );

Do you guys know any solution or any alternative?

1642 posts
  • Power Elite Author
  • Featured Author
  • 7 Years of Membership
  • Author Level 12
+8 more
fuelthemes
says

Its no surprise I found no solution googling

3439 posts
  • Author Level 4
  • Collector Level 2
  • Community Superstar
  • United States
+2 more
organicbee
says

With WP 3 .1, we can’t use $query_string like:

query_posts( $query_string . ‘&cat=13 );

Do you guys know any solution or any alternative?

well your missing a ’ weather thats the forum removing it or error

204 posts Bold WordPress Theme Development
  • 7 Years of Membership
  • Affiliate Level 5
  • Author Level 9
  • Blog Interview
+7 more
srhnbr
says

With WP 3 .1, we can’t use $query_string like:

query_posts( $query_string . ‘&cat=13 );

Do you guys know any solution or any alternative?

How about if you use this:

global $query_string; $posts = query_posts($query_string . '&cat=13');

Does it work then?

1642 posts
  • Power Elite Author
  • Featured Author
  • 7 Years of Membership
  • Author Level 12
+8 more
fuelthemes
says

I already tried most of the generic ways :) global option does not work.

1642 posts
  • Power Elite Author
  • Featured Author
  • 7 Years of Membership
  • Author Level 12
+8 more
fuelthemes
says

I already tried most of the generic ways :) global option does not work.

223 posts
  • Affiliate Level 1
  • Collector Level 3
  • 7 Years of Membership
  • Exclusive Author
agusmu
says

Otto said here,

The cat parameter is partly broken in 3.1.

Install the Hotfix plugin to fix it:

http://wordpress.org/extend/plugins/hotfix/

by
by
by
by
by
by