Tag : [gallery]

0 1729

WordPress Gallery Shortcode Customization

We can customize WordPress gallery short code easily. It is on pluagable file so, this function can be override by theme functions.php or through plugins. Say How to customize the output of the WP image gallery shortcode from a plugin? Just need to call this hook in your theme or plugins and write this function according to latest wordpress. You can find the hook i’m using in wp-includes/media.php inside the gallery shortcode callback function(see line 763). http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/media.php#L745 In from end Read more