Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Switching to one of the default themes would indeed be your next step, to rule out any conflicts with your theme.

    If your theme changes the way WordPress handles paragraphs, and doesn’t cope well with the changes that were made in 4.0.1, it may now be creating the extra paragraphs between each gallery image.

    Let me know how it goes.

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    Ah, I forgot about Live Preview, so I tried that and, yes, it’s displaying correctly in the default theme. So what WP changes might have affected this? A shortcode? What would cause the insertion of paragraphs?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    So what WP changes might have affected this? A shortcode? What would cause the insertion of paragraphs?

    I’d suggest that you start looking for functions in your theme that change the way WordPress handles paragraphs, with filters like wpautop (#), shortcode_unautop, and anything that affects wptexturize().

    If you’re not comfortable making the changes yourself, I’d suggest contacting the theme author for help.

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    I couldn’t figure out where to find those functions in use in my theme, so I asked for advice from the theme author, and the fix turned out to simply be using CSS to display: none on paragraphs in the gallery. Thanks for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tiled Gallery – spaces between images’ is closed to new replies.