WordPress.org

Support

Support » Plugins and Hacks » Custom Query into 3 different DIV

Custom Query into 3 different DIV

  • Hi guys,

    I’m working on a news slider based on the well-known jQuery Tool Scrollable.

    On the header of my site, I would like to create a new Query (only sticky posts with a maximum of 12 posts), display like this :

    <!-- 1-4 -->
    <div>
       <div>POST 1</div>
       <div>POST 2</div>
       <div>POST 3</div>
       <div>POST 4</div>
    </div>
    <!-- 5-8 -->
    <div>
       <div>POST 5</div>
       <div>POST 6</div>
       <div>POST 7</div>
       <div>POST 8</div>
    </div>
    <!-- 9-12 -->
    <div>
       <div>POST 9</div>
       <div>POST 10</div>
       <div>POST 11</div>
       <div>POST 12</div>
    </div>

    Any help or advices would be much appreciated!

    Cheers,

    Jk_

  • The topic ‘Custom Query into 3 different DIV’ is closed to new replies.
Skip to toolbar