Remove auto p tag from image in content

wordpress

When you are add image in wordpress content and view on front side at a time wordpress add “<p>” tag on image.
you can remove unwanted <p> tag from all image in content using below function.

you just coppy below code on your function.php file.

Read More