WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Split loop multiple divs (3 posts)

  1. jasonsweb
    Member
    Posted 2 years ago #

    Hi,

    Is it possible to split a loop into multiple divs. I would like to achieve the following in my loop:

    <div id="portfolio-images">
    All the images
    </div>
    
    <div id="portfolio-content">
    All the content
    </div>

    So all the images should be wrapped inside a div, and all the content of the same items should be wrapped inside a div. Is this possible with one loop??

    Thanks in advance!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

  3. jasonsweb
    Member
    Posted 2 years ago #

    Thanks!! Works perfect.

Topic Closed

This topic has been closed to new replies.

About this Topic