Hi,
In frontend I try to do a string search.
For exemple when I search for “Extending Kirby” in the startekit, I want to find these page and these page only. Instead I find also “Licensing Kirby” and “Content in Kirby” because those pages contains the word “Kirby” and so this is a words search.
I’m doing this for now :
$results = page('blog')->children();
$query = get('q');
if ( $query ) {
$results = $results->search($query);
}
And I think that this post could help :
But I can’t figure it out,
I’m a big newbie for php
Thanks if someone can help me here !