How To Run Safe Database Queries In WordPress With $Wpdb The global $wpdb object lets you query the WordPress database directly. Use it when the standard functions are not enough, and always use $wpdb->prepare() to protect against SQL injection.
How To Change The Excerpt Length And Read More Text In WordPress WordPress shows 55 words in excerpts by default and ends them with […]. Two filters let you change both.