Support » Fixing WordPress » List all posts not containing a given character in excerpt?

  • Hi, I have searched the web without being able to find an answer to the following problem:

    I need to make wordpress list all posts which do not contain the “|” character in the post excerpt.

    For example in google search syntax that would be equivalent to putting a minus before a word to exclude the word from results. Briefly put, i need a snippet that would exclude all such posts from the wordpress loop on the index page.

    I could not figure out what the wordpress search syntax for this would be, or the query string that could return a similar result.

    Any help would be largely appreciated, thank you in advance : ))

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘List all posts not containing a given character in excerpt?’ is closed to new replies.