January 4th, 2010 - 11:33 am ≡ by Jauhari ≡ in
WordPress Code
… you’ll need this code.Open your functions.php in your current theme and write caption-shortcode reload ed code
add_shortcode('wp_caption', 'fixed_img_caption_shortcode');
add_shortcode('caption', 'fixed_img_caption_shortcode');
function fixed_img_caption_shortcode($attr, $content = null) {
// Allow plugins/themes to override the default caption template.
$output = apply_filters('img_caption_shortcode', '', $attr, $content);
if ( $output != '' ) return …