WordPress.org

Ready to get started?Download WordPress

Forums

wrap code in statement? (1 post)

  1. csleh
    Member
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic