WordPress.org

Ready to get started?Download WordPress

Forums

Grid Columns
Empty being added above columns (5 posts)

  1. PinkishHue
    Member
    Posted 1 year ago #

    Hello, thanks for this very handy plugin :)

    I have added some columns in to a page and there are no blank lines in the editor window above the columns however when the code is displayed on the front end I'm getting a

    <p></p>

    above the columns. Not sure how to go about avoiding this, could it be something within the plugin causing it or is it simply the built-in WP editor being annoying?

    Thanks for any help anyone can give (not sure if the author provides free support for this plugin here, hopefully he does :))

    http://wordpress.org/extend/plugins/grid-columns/

  2. vivedj
    Member
    Posted 1 year ago #

    Hi Justin,

    I have the same problem as PinkishHue. With each additional column I create I get an extra line space above the column. So if it's a 2 column post there's 1 extra line space above the second column; if it's a 3 column post there's 1 extra line space above the second column and 2 extra line spaces above the third column.

    I am using WordPress 3.5.1

    Thanks in advance for any advice.

  3. PinkishHue
    Member
    Posted 1 year ago #

    I have the problem on the first column only which is the very first piece of code I'm adding within the post editor.

    If you have this problem on multiple columns try adding your code like this (if not done already):

    [column.....]Some text here
    some text here
    some text here
    [/column][column]Some text here
    some text here
    some text here
    [/column][column]Some text here
    
    etc. etc.

    Starting your content straight after opening the column and opening and closing adjacent columns on the same line, that way WordPress doesn't automatically format it with the extra paragraphs between lines.

    Hope that helps fix your problem :)

  4. dotnordic
    Member
    Posted 1 year ago #

    I've had this issue too. I think it's a conflict with wpautop. Adding this to the themes functions.php works for me.

    // Make sure wpautop runs AFTER our shortcode filters
    remove_filter( 'the_content', 'wpautop' );
    add_filter( 'the_content', 'wpautop' , 12);
  5. PinkishHue
    Member
    Posted 1 year ago #

    Aah good thinking, I will try that. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.