812 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Sells items exclusively on Envato Market
iamthwee
says

Hey everyone,

I was wondering what is the best practice to query the WP database. Sample code or links would be great.

348 posts Premium Website Design
  • Had an item that was trending
  • Located in United States
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $5M+ on Envato Market
+5 more
ThemeFusion
says

Using wpdb library will be the best practice of communicating with wordpress database http://codex.wordpress.org/Class_Reference/wpdb

812 posts
  • Has been part of the Envato Community for over 5 years
  • Has collected 10+ items on Envato Market
  • Achieved the monthly Community Superstar Award
  • Sells items exclusively on Envato Market
iamthwee
says

Thanks I’ll look at this later.

by
by
by
by
by
by