• Resolved toto285

    (@toto285)


    Hi,
    i want to change the searchform text so i tried to put the variable
    $searchplaceholder
    in the functions.php from my childtheme but it doesnt work.
    $searchplaceholder = apply_filters( 'hoot_search_form_placeholder', __( 'Suche nach...', 'dispatch' ) );

    i can add a hole searchform.php in my childtheme but i think this is not the right way during every update to look after the file.

    How can i change the placeholdertext?

    • This topic was modified 6 years, 10 months ago by toto285.
Viewing 2 replies - 1 through 2 (of 2 total)
  • AddWeb Solution

    (@addweb-solution-pvt-ltd)

    Hello toto285,

    Add below code into your current active child theme’s functions.php file.


    add_filter('hoot_search_form_placeholder', 'custom_placeholder');
    function custom_placeholder(){
    return __( 'Suche nach...', 'dispatch' );
    }

    Hope this will helps you.

    Thanks!

    Thread Starter toto285

    (@toto285)

    Thank u! It works

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Form Text’ is closed to new replies.