[Support request] What is the code that makes the distance below the image?

Home Forums Support What is the code that makes the distance below the image?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #886013
    Patrik

    What is the code that makes the distance below the image?

    #886293
    David
    Staff
    Customer Support

    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.

    #888256
    Patrik

    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?

    #888274
    David
    Staff
    Customer Support

    Yes – wrap them in P tags. πŸ™‚

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.