Forums

wrap code in statement? (1 post)

  1. csleh
    Member
    Posted 6 months 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

Reply

You must log in to post.

About this Topic