WordPress.org

Ready to get started?Download WordPress

Forums

Easy AdSense
Why Easy Adsense puts one empty paragraph before ads blocks? (4 posts)

  1. Eken
    Member
    Posted 1 year ago #

    It is very strange that I notice Easy Adsense creating one empty paragraphs before ad blocks. In cases these Paragraphs are given some padding or/ margin, it would create a large empty space before ad blocks. How to stop that?
    `
    <p>
    <!-- google_ad_section_start -->

    <!-- Easy AdSense (WP) V6.00 -->
    <br></br>
    <!-- Post[count: 1] -->
    </p>

    <div class="ezAdsense adsense adsense-leadin" style="text-align:left;margin:12px;"> … </div>
    `

    http://wordpress.org/extend/plugins/easy-adsense-lite/

  2. manojtd
    Member
    Plugin Author

    Posted 1 year ago #

    I think there is an issue with some themes automatically adding <p>...</p> and <br /> tags around HTML comments inserted by the plugin. Most of the support questions seem on the forum seem to be related to that. Since these tags are added after the plugin does its work, I cannot fix it in the plugin. What I can do is to give an option to suppress comments. I will make a release with it in a couple of days.

  3. Eken
    Member
    Posted 1 year ago #

    That would be great at least to suppress the comments. Waiting for a release do address that (Just checked with v6.22 which doesn't address it yet.)

  4. manojtd
    Member
    Plugin Author

    Posted 1 year ago #

    V6.22 should address it. It has a new option called "Prevent spurious line breaks" on the admin page. Try checking it and let me know if it doesn't work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic