modify loop to use class to post into seperate divs (1 post)

  1. roclimb
    Posted 2 years ago #

    Hi, Im trying to split my post into two separate divs. If I have a certain div class added to the post content. I want that content in that class to post into a separate div and the rest into the main div.


    <div left>post part of my post determined by a specific class I specify in the editor</div>

    <div right>display anything else I put in the editor to post</div>

    I would really like a PHP way to do this and not just by adding the divs and class in the editor as that is not what i'm looking for.


Topic Closed

This topic has been closed to new replies.

About this Topic