[wp-hackers] How to remove captions on the homepage

Lynne Pope lynne.pope at gmail.com
Wed Jan 14 22:02:58 GMT 2009


Thanks all!
I hope you will blog about this solution Alex because its odds on that if
you and I were looking for a way to do this then others will be too.

Off to try it out...

Cheers,
Lynne

2009/1/15 Alex Hempton-Smith <hempsworth at googlemail.com>

> Brilliant, thanks Ozz and Otto for your input, works a charm now.
> Lynn, the final piece of code to be placed in header.php is:
>
> if ( is_home() ) {
> add_filter('img_caption_shortcode', create_function('$a, $b, $c', 'return "
> ";'), 10, 3);
> };
>
> -- Alex
>
>
>


More information about the wp-hackers mailing list