Archived topic
What is the code that makes the distance below the image?
3 replies · Started by Patrik on May 1, 2019
What is the code that makes the distance below the image?
Hi there,
is this for the image without the caption? How was that image added - as WordPress automatically wraps images in <p></p> tags which creates the space below but this one is not.
Have added:
remove_filter('the_content', 'wpautop');
at the bottom of functions.php - because wordpress should not add <p> to my tables. Which I got help from you with, I believe. :)
But then I'll just add <p> </p> to the pictures then?
Yes - wrap them in P tags. :)