Ok… back-story… I need to have dynamic modal dialog boxes. Click a word in a WordPress post and up pops a modal dialog with more information about that word. There are several of these in a page.
My solution to this was to create a short code that references a post id to get the post content to put in the dialog when it pops up. I’m using the Foundation Theme from Zurb as a starter, and it includes modal dialog code.
My issue, I’m getting random paragraph tags around my shortcode content. Can anyone tell me what I’m doing wrong????
What I have in WordPress editor on that page:
In order to develop a [PopUp id="1"]corporate compensation philosophy[/PopUp], total compensation must be