Sul mio sito utilizzo il plugin Similar post-title checker che, durante la digitazione del titolo in un nuovo post, mi visualizza quelli già esistenti. Gradirei ordinare i risultati visualizzati dal plugin per data, dal più recente al più datato. La query in questione è la seguente:
$results = $wpdb->get_results( "select * from ".$wpdb->prefix."posts where post_title like '$sptitle%' and post_status = 'publish' limit 0,$splimit");
Che modifica devo fare affinché faccia quanto desiderato?