Support » Fixing WordPress » wrap code in statement?

  • csleh


    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.

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