1625 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 6 years
  • Has sold $500,000+ on Envato Market
+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?

1625 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 6 years
  • Has sold $500,000+ on Envato Market
+8 more
fuelthemes
says

Its no surprise I found no solution googling

3439 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Located in 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
  • Has been part of the Envato Community for over 6 years
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Interviewed on an Envato blog
+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?

1625 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 6 years
  • Has sold $500,000+ on Envato Market
+8 more
fuelthemes
says

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

1625 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has been part of the Envato Community for over 6 years
  • Has sold $500,000+ on Envato Market
+8 more
fuelthemes
says

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

223 posts
  • Has referred 1+ members
  • Has collected 50+ items on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Sells items exclusively on Envato Market
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