1277 posts
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
+1 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?

1277 posts
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
+1 more
fuelthemes says

Its no surprise I found no solution googling

3118 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
  • Exclusive Author
chrisakelley 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
  • Bought between 1 and 9 items
  • Elite Author
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Interviewed on the Envato Notes blog
  • Referred between 200 and 499 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+1 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?

1277 posts
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
+1 more
fuelthemes says

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

1277 posts
  • Elite Author
  • Has been a member for 5-6 years
  • Sold between 100 000 and 250 000 dollars
  • Author had a Free File of the Month
  • Referred between 200 and 499 users
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
+1 more
fuelthemes says

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

211 posts
  • Has been a member for 5-6 years
  • Bought between 50 and 99 items
  • Referred between 1 and 9 users
  • 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