1479 posts The right tools with none of the gimmicks
  • Affiliate Level 4
  • Author Level 7
  • Beta Tester
  • Collector Level 2
+7 more
PixelBin
says

Title says all. How would it be done? Basically, I need the loop in Wordpress admin. Help appreciated.

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

wouldnt you do it the exact same as the front end?? just add the loop code to where you want it in the admin

1479 posts The right tools with none of the gimmicks
  • Affiliate Level 4
  • Author Level 7
  • Beta Tester
  • Collector Level 2
+7 more
PixelBin
says

wouldnt you do it the exact same as the front end?? just add the loop code to where you want it in the admin

Nope. Doesn’t work because the appropriate files aren’t loaded (there’s no need to, naturally) but I need them. Google isn’t being my friend… it’s filled with thousands of pages explaining the same thing but none on what I need… a.k.a. useless.

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

EDIT : NVM, I need to read

1479 posts The right tools with none of the gimmicks
  • Affiliate Level 4
  • Author Level 7
  • Beta Tester
  • Collector Level 2
+7 more
PixelBin
says

http://codex.wordpress.org/Function_Reference/query_posts

Thanks but that hasn’t solved my problem. Nevermind, don’t worry about it. I’ll work around it.

1383 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+1 more
wpCanyonThemes
says

First of all query_posts should only be used on the homepage. :)

For everything else use WP_Query, but not with $wp_query = WP_Query(... because that’s the same as using query_posts.

For example in your situation you can use $my_admin_query = WP_Query(...

by
by
by
by
by
by