more work on wordpress model relationships