nested loops not working
-
im trying to use a nested loop, i was using it in a clutttered code that had an error so i made a test to find what was causing the error when i tried this:
[loop type=”post” count=”5″]
[field date]
[field excerpt]
[-loop type=”cursos count=”3″]test[/-loop]
[/loop]the nested loop works fine, but when i call a field after the nested loop like this:
[loop type=”post” count=”5″]
[field date]
[field excerpt]
[-loop type=”cursos count=”3″]test[/-loop]
[field date]
[field excerpt]
[/loop]the code stops working like if there was no closing tag for the nested loop, is this a bug or is it just me?
The topic ‘nested loops not working’ is closed to new replies.