WordPress.org

Ready to get started?Download WordPress

Forums

WP Gallery Custom Links
[resolved] Extra space below gallery (6 posts)

  1. Frank Gomez
    Member
    Posted 1 year ago #

    It looks like the gallery includes an empty paragraph tag afterwards inside the div which creates extra space afterwards.

    Gallery is the 4 blue icons you see

    http://nationalestuaries-new.franksdesigns.com/about-anep/national-nep-map

    <p>
    <br style="clear: both">
    <br>
    <br style="clear: both;">
    </p>

    http://wordpress.org/extend/plugins/wp-gallery-custom-links/

  2. fourlightsweb
    Member
    Plugin Author

    Posted 1 year ago #

    Are the line breaks still there if you disable the plugin?

  3. Frank Gomez
    Member
    Posted 1 year ago #

    Yes, Is this a problem with galleries that I never noticed before? (even though I've built dozens WordPress sites with galleries?

  4. fourlightsweb
    Member
    Plugin Author

    Posted 1 year ago #

    If they're still there when you disable the plugin, it sounds like it's more of an issue with your theme, another plugin, or possibly WordPress adding in extra paragraph tags around shortcodes. The WP Gallery Custom Links plugin doesn't really add any new content except attributes on existing link tags. You might want to see if your theme has a post_gallery filter somewhere to see if you can take those extra br tags out. Hope this helps at least a little!

  5. Frank Gomez
    Member
    Posted 1 year ago #

    I found other people complaining about empty p tags in shortcodes (so it isn't your problem but definitely a problem.

  6. fourlightsweb
    Member
    Plugin Author

    Posted 1 year ago #

    Since this seems to be an issue unrelated to this plugin, I'm going to mark it as resolved.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic