Wordpress document model