WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Suffision Search Field Caption (5 posts)

  1. Martin
    Member
    Posted 1 year ago #

    Hello, I think a lot of people around world will need this. Making my wordpress in latvian came easy by "Find and replace" tool, since now.

    In great suffision theme there is search box in good place, below header, I really need to change caption of search box, from "Search" to some of my people language "lalalaa" so the page was pure and clean.

    Thanx in advance.

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    What's your site?

  3. radhika
    Member
    Posted 1 year ago #

    you have to edit the search box caption value in searchform.php of your theme.

    value="<?php _e('Search website','suffusion');?>"
    			onfocus="if (this.value == '<?php _e("Search website","suffusion");?>') {this.value = '';}"
    			onblur="if (this.value == '') {this.value = '<?php _e("Search website","suffusion");?>';}"

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    Don't edit the theme! Instead, try asking about this on the theme's dedicated forum: http://www.aquoid.com/forum

  5. Martin
    Member
    Posted 1 year ago #

    i'm going for the edit! sathyasai.lv

    And it was the place to edit. Thanx!!


    value="<?php _e('Meklēt','suffusion');?>"

    onfocus="if (this.value == '<?php _e("Meklēt","suffusion");?>') {this.value = '';}"

    onblur="if (this.value == '') {this.value = '<?php _e("Search","suffusion");?>';}"
    <?php

Topic Closed

This topic has been closed to new replies.

About this Topic