Faire disparaitre ou modifier le terme ” mode de recherche”

BP Profile Search Faire disparaitre ou modifier le terme " mode de recherche"

  • Author
    Post
  • #11570 Reply
    Alain FAUCONNET
    Guest

    Remove 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 🙂

    #11574 Reply
    andrea
    Plugin Author

    Hi 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 = '';
    }
    #11575 Reply
    Alain FAUCONNET
    Guest

    Merci pour votre réponse ! Cela dit morceau de code apparait dans l’entête du site et la modification ne s’applique pas

    #11576 Reply
    Alain FAUCONNET
    Guest

    C’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 !

    #11578 Reply
    andrea
    Plugin Author

    You are welcome, I’m glad that the problem has been solved!

Reply to: Faire disparaitre ou modifier le terme " mode de recherche"
My Information