Wordpress - custom gallery from WP post gallery