07-25-2022, 06:50 PM
Así filtrará las palabras del título, el contenido y tags.
En c.posts.php --> inc --> class --> c.posts.php
Buscar:
Debajo agregar:
Buscar:
Reemplazar por:
Creditos: Kmario19
En c.posts.php --> inc --> class --> c.posts.php
Buscar:
Código PHP:
$q = $tsCore->setSecure($_GET['q']);
Debajo agregar:
Código PHP:
$q = empty($q) ? '' : '+' . str_replace(' ', ' +', $q);
Buscar:
Código PHP:
else $search_on = 'p.post_title';
Reemplazar por:
Código PHP:
else $search_on = 'p.post_title, p.post_body, p.post_tags';
Creditos: Kmario19