Templates for the word "Search"

Home Forums Theme Support Templates for the word "Search"

  • Question status -
  • Andreas Pahmp
    Participant

    I’m searching to change the word “Search” to the Swedish “Sök”.

    Which Template should I go into?

    I could change it inside the Search box, but not the Headline

    https://wp.segrandeliv.se/

    #5349
    Support Staff
    Keymaster

    It’s inside searchform.php, first line.

    Regards,
    Sinisa

    #5350
    Andreas Pahmp
    Participant

    Hmmm strange.

    I’ve written like this:
    <?php $search_text = empty($_GET[‘s’]) ? “Sök” : get_search_query(); ?>
    <div id=”Sök”>

    But it stil say “Search”

    #5351
    Support Staff
    Keymaster

    Sorry, I misread you. I thought you want to change input value.

    You do not need to change
    <div id="search">
    to
    <div id="Sök">.

    To change widget title, go to sidebar.php and change it here:

    <div class="bwidget">
    <h3>Search</h3>
    <?php get_search_form(); ?>
    </div>

    Regards,
    Sinisa

    #5352
    Andreas Pahmp
    Participant

    Perfect!

    Thanks for the fast reply all the time!

    #5353
    Support Staff
    Keymaster

    We’re here to help 🙂
    Let us know if you have more questions.

    Best regards,
    Sinisa

    #5354

You must be logged in to reply to this topic.

Viewing 6 posts - 1 through 6 (of 6 total)