Minor adjustments after Wpseek updated their api
Updated for WordPress 4.1