How to remove br style clear both from gallery wordpress

How to remove
from gallery wordpress

remove break style in gallery

It’s easy to remove this annoying <br style=”clear:both;”> from wordpress gallery

Here’s the solution:

Go to your wp-includes and find media.php

$output .= ‘<br style=”clear: both” />’;

and just leave it blank
$output .= ‘  ‘;


Leave a Reply

Your email address will not be published. Required fields are marked *