WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] How do i reduce this to one loop?

[Resolved] How do i reduce this to one loop?

  • Hello guys,

    I have the following code that i would like to optimize by reducing the 2 loops to a single one.

    Problem is that there’s some specific code i only need run once(the nav and section elements). Those need to be outside the loop, so i’m forced to close the nav loop before i can begin the section loop.

    Any help would be greatly appeciated.

    You can see what i have here: http://pastebin.com/VChkx4yR

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] How do i reduce this to one loop?’ is closed to new replies.