Wordpress - Replacing gallery shortcode