Uh, that’s all greek to me. Can anyone supply a line of code or modify the following so that the result is the ID of the latest post in a category? Right now I have this, which returns the total number of posts, but not an ID:
$cat_count = $wpdb->get_var(“SELECT category_count from $wpdb->categories WHERE cat_ID = ‘2’”);