Hi and happy holidays to you as well :).
Can you let me know where do you see this text exactly? As far as I remember we do not have anything like that in the [adverts_list].
Hi,
right, except there isn’t a “looking for” text in the search box by default https://demo.wpadverts.com/lite/adverts/, so I would need either a screenshot or even better a link to the page where you can see it so I can figure out where is it coming from?
Sorry I need to replace the circled text with “looking for”
https://pasteboard.co/JHbWh0R.jpg
Hi,
ohh ok, i though you wanted it the other way around :).
To replace the “Keyword …” with some other text you can use either a plugin like Say What? https://ww.wp.xz.cn/plugins/say-what/ or change it using the adverts_form_load filter like this
add_filter( "adverts_form_load", function( $form ) {
if( $form["name"] != "search" ) {
return $form;
}
foreach( $form["field"] as $k => $f ) {
if( $f["name"] == "query" ) {
$form["field"][$k]["placeholder"] = "Looking For";
}
}
return $form;
} );
The code above you can paste in your theme functions.php file.