I'm going to write a function to return the next/prev post in a specific category. can anyone tell me what the differences would be in using $wpdb
as opposed to WP_Query()
; eg new WP_Query(args)
? what determines which of these should be used?
cheers,
Gregory