Wordpress - WP post gallery code cleaner