WordPress functionality with meta random image support