added fetch homepage for wordpress
use class registry to pull document_type