egomOnia
Registered Member
- Oct 21, 2009
- 92
- 62
Is there some way to check if there's a certain keyword in a wordpress post title?
According to the wordpress codex, there are functions like is_category, in_category or has_tags to check if a post is in a certain category or uses specific tags.
But I need something like an "in_title" function to check if there is a certain keyword in the post title in order to display highly relevant ads.
Does anyone know a way to do this?
According to the wordpress codex, there are functions like is_category, in_category or has_tags to check if a post is in a certain category or uses specific tags.
But I need something like an "in_title" function to check if there is a certain keyword in the post title in order to display highly relevant ads.
Does anyone know a way to do this?