Added WordPress functionality