Support » Everything else WordPress » Passing a variable from a foreach loop

  • I have a foreach loop that gathers the children of a category and outputs them into a

      list. The links trigger a jquery tab script.

      The tabs aspect works, it passing the right variable to the jquery.

      How do I pass that variable to the content area so that the correct info is displayed?

      Here’s my code:

      [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

      Thanks. The Tabs are working. If I put separate queries for each tab, then I am successful.

Viewing 1 replies (of 1 total)
  • From the pasted code it looks like I don’t have my first LI closed, it is. For some reason it didn’t transfer over.

Viewing 1 replies (of 1 total)
  • The topic ‘Passing a variable from a foreach loop’ is closed to new replies.