Quantcast
Channel: Exclude post with specific title post_title from wp query - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Exclude post with specific title post_title from wp query

$
0
0

How can i exclude an post with specific word in the title.

I need something like:

$args = array('s' => 'title' // i need something that will exclude this "!title"

with 's' i can search for post with that title but i need to exclude it not show it!

Or something like:

$wpdb->posts.post_title LIKE **NOT** '%Exclude this%'

Like NOT i need something like that.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images