Ready to get started?Download WordPress


Running a loop within do_shortcode(), need help... (1 post)

  1. Spencer Hill
    Posted 2 years ago #


    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]

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.