Now works with Wordpress.

Still needs some more coding to make it compatible with both platforms.