• Resolved ViviDroid

    (@vividroid)


    I have strange problem with some posts having below this bar with more space between post itself and comments form. It’s no matter i include adsense between or not, some post always have more space with that light gray bar while others doesn’t have. What might be the cause? I use before “wp insert” to include my adsense, maybe that cause the ting? Now I’m using quick adsense but like said before it doesn’t matter if plugin is enabled disabled, some post just have this bar while in edit mode they look the same. Here i post image of what im talking about.

    View post on imgur.com

Viewing 7 replies - 1 through 7 (of 7 total)
  • Always provide a link to the page with the error, so we can look at the source.

    Thread Starter ViviDroid

    (@vividroid)

    It’s from Quick Adsense WordPress Plugin.
    A quick workaround:

    add_filter('the_content', 'what_is_quick_adsense_anyway');
    function what_is_quick_adsense_anyway($output) {
    	return preg_replace('%30px 30px 30px%', '0 0 0', $output, -1);
    	}

    You could ask the plugin author since when functionality plugins take up actual rendering space in the webpage? You might also introduce him to the concept of cascading style sheets, while you’re at it.

    Thread Starter ViviDroid

    (@vividroid)

    “You could ask the plugin author since when functionality plugins are not placed in display:none divs…” Not sure if I understand but I believe the plugin is wrongly written? Anyway I noticed it once or twice while using WP-Insert too. Thank you anyway for work-around, I’ll use it

    Notice: The workaround above assumes the plugin adds the code before the page is rendered. Some plugins, however, especially bad seo plugins add code after the page has been rendered, in which case my solution won’t work. If that’s the case, you’ll need to find the “30px 30px 30px” sequence in the plugin files and replace it with “0 0 0”. Or maybe switch to another seo plugin?

    It’s not that it’s badly written (I suppose it does what it claims it does, seo-wise), but it shouldn’t interfere with the page’s layout at all and it would be a plus to respect wordpress recommended coding standards, which it doesn’t.

    I also modified the reply above to make my point clearer.

    Thread Starter ViviDroid

    (@vividroid)

    Thank you, I didn’t know that.

    Thread Starter ViviDroid

    (@vividroid)

    Ooooo gosh
    I found totally different cause of this thing happening.
    Look at my screenshot from first post. That light gray line appear when there is a comment on the post, if there are no comments the line does not appear……
    I kept deleting post and creating new, changing adsense plugins, just to get rid off that line just to find out that only post with comments having this thing :/
    This is the Customizr bug, because if its not a bug then that line should or shouldn’t be there at no matter there are posts or not.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Same posts but different space between post/comments’ is closed to new replies.