Update wordpress.cfc

moved var i, and var category to head of cfc
added cf8 support
added cftry around cfimage
now runs on cf8.x
issue remains on Railo4 (with content.save)