• Resolved carl-johan

    (@carl-johan)


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

    I get this error:

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

    Thanks in advance!

    /Carl-Johan

Viewing 1 replies (of 1 total)
  • Thread Starter carl-johan

    (@carl-johan)

    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:
    https://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>';
Viewing 1 replies (of 1 total)
  • The topic ‘Trouble splitting content in columns’ is closed to new replies.