Forums

[resolved] Trouble splitting content in columns (2 posts)

  1. carl-johan
    Member
    Posted 2 years ago #

    Has anyone got the same problems I have with splitting content in columns using the technique explained here: http://www.sitepoint.com

    I get this error:

    Warning: implode() [function.implode]: Argument to implode must be an array.

    Thanks in advance!

    /Carl-Johan

  2. carl-johan
    Member
    Posted 2 years ago #

    For anyone with the same problem. I found a solution that works for me (as well as a presentation of a bunch of other solutions) here:
    http://www.smashingmagazine.com

    The one that does the trick for me is short n sweet:

    global $more;
    
    $more = 0;
    echo '<div id="column1">';
    the_content('');
    echo '</div>';
    
    $more = 1;
    echo '<div id="column2">';
    the_content('',true);
    echo '</div>';

Topic Closed

This topic has been closed to new replies.

About this Topic