BP Profile Search › Faire disparaitre ou modifier le terme " mode de recherche"
-
AuthorPost
-
Alain FAUCONNET
GuestRemove or modify the terms “search mode”
Hello and congratulations on your work.
I’m looking to modify or hide the search mode terms appearing in on the search form visible from the frontend ( is, Maches any, .. ) can you tell me how to do it please ?I translated the .po file and loaded it in the plugin language folder but it doesn’t work even after deleting the caches
Thanks 🙂
Supprimer ou modifier les termes « mode de recherche »
Bonjour et félicitations pour votre travail.
Je cherche à modifier ou à masquer les termes du mode de recherche apparaissant dans le formulaire de recherche visible depuis le frontend (est, Maches any, ..) pouvez-vous me dire comment faire s’il vous plaît ?J’ai traduit le fichier .po et l’ai chargé dans le dossier de langue du plugin mais cela ne fonctionne pas même après avoir supprimé les caches
Merci 🙂
andrea
Plugin AuthorHi Alain,
I’m not sure why the translation doesn’t work, but if you wish you can remove those strings adding the following code to your bp-custom.php file:
add_action ('bps_field_before_search_form', 'change_display'); function change_display ($f) { $f->mode = ''; }
Alain FAUCONNET
GuestMerci pour votre réponse ! Cela dit morceau de code apparait dans l’entête du site et la modification ne s’applique pas
Alain FAUCONNET
GuestC’est bon j’ai renommé la traduction je suis passé de bp-profile-search-fr_FR(1).po à bp-profile-search-fr_FR.po pareil pour le fichier.mo et cela marche XD
Merci et Bonne Continuation !
andrea
Plugin AuthorYou are welcome, I’m glad that the problem has been solved!
-
AuthorPost