WordPress.org

Support

Support » How-To and Troubleshooting » Using wildcards in WP_Query with exclusions

Using wildcards in WP_Query with exclusions

  • Good morning all,

    Could anyone tell me if it’s possible to include wildcards in WP_Query, for example: category=news*

    Also is it possible to have exclusions similar to this

    category_exclude=notnews*

    Thanks in advance

    Mike

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using wildcards in WP_Query with exclusions’ is closed to new replies.
Skip to toolbar