WordPress.org

Ready to get started?Download WordPress

Forums

'Write post' - split 'Post' textarea into 2 columns? (6 posts)

  1. 3stripe
    Member
    Posted 8 years ago #

    Kaf has written some nice code to split a post into two columns:

    <?php $content = split("<!--nextcolumn-->", $post->post_content); ?>

    http://wordpress.org/support/topic/68137?replies=9

    To use this, I add <!--nextcolumn--> into the post where I want the next column to start.

    Would it be possible to create a customised 'Write Post' page, that actually displayed these columns in 2 distinct text areas? (For the benefit of a client.)

    Pages with one column would revert to the default editing layout of course.

    I'm more of a hack&paster than a coder but would be interested to hear your thoughts on tackling the above :-)

  2. 3stripe
    Member
    Posted 8 years ago #

    Well I just tried editing the Write Post page, and splitting the content using <?php echo apply_filters('the_content', $content[0]); ?> etc...

    I did end up with content in the 2 text areas - but each of them just displayed <br> and nothing else...

    Hmmm...

  3. 3stripe
    Member
    Posted 7 years ago #

    Kaf?

  4. 3stripe
    Member
    Posted 7 years ago #

    I'm still dearly in need of this feature, and willing to reward anyone who knows how to do this... please?

  5. 3stripe
    Member
    Posted 7 years ago #

    Anyone?

  6. 3stripe
    Member
    Posted 7 years ago #

    What if I paid someone?

Topic Closed

This topic has been closed to new replies.

About this Topic