WordPress.org

Support

Support » How-To and Troubleshooting » wrap code in statement?

wrap code in statement?

  • This page has a few different queries that go into an <article> container. I can’t figure out how to include the container code to be INSIDE the queries, so if there aren’t any results the container box won’t show. They are separate queries.
    Ideally, the tags for <article><aside><div></div></aside></article> will only be on the page if there is post meta OR if there are items with same tag.

    http://pastebin.com/X2jPCMpw

  • The topic ‘wrap code in statement?’ is closed to new replies.