Running a loop within do_shortcode(), need help…
-
Heya,
So I need help understanding what I’m doing wrong here. I need to loop the “haccordion” short code, but not the “haccordions” above and below it. I understand I would need the while sections within the short code instead of around the whole thing, but that doesn’t seem to work because do_shortcode runs them separately and I need it all run together. Can anyone help? Thank you!
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘Running a loop within do_shortcode(), need help…’ is closed to new replies.