Fix getRecentPosts call and tag handling, handle photo custom fields, disable permalink