Wordpress plugin, implements a "gallery" custom post type and its editor