WordPress.org

Support

Support » Themes and Templates » query posts by category defined by variable?

query posts by category defined by variable?

  • Hi I’m trying to query posts that are from the category of the current page and also have the tag ‘news’. Heres the code I’m using.

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘query posts by category defined by variable?’ is closed to new replies.
Skip to toolbar