Viewing 12 replies - 1 through 12 (of 12 total)
  • FTP to your site, or login via dashboard. Locate wp-content/themes/k2/searchform.php and change it there:

    <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search &raquo;', 'k2_domain'); ?>" />

    Thread Starter niktabah

    (@niktabah)

    tq for your quick reply Emil Uzelac..

    inside my searchform.php..i found the following
    <input type=”submit” id=”searchsubmit” value=”<?php esc_attr_e(‘Search »’, ‘k2’); ?>” />

    where should i change on my above code??

    sorry i new in this area

    Nik

    change
    Search >>
    to what you want

    Thread Starter niktabah

    (@niktabah)

    Dear Emil Uzelac and Samuel B…

    i have change the
    <input type="submit" id="searchsubmit" value="<?php esc_attr_e('Search ?', 'k2'); ?>" />

    to

    input type="submit" id="searchsubmit" value="<?php esc_attr_e('
    Type and Wait to Search;', 'k2'); ?>" />

    but nothing happen..

    is it , it the correct place i replace it??

    According to K2 sidebar.php:

    <div id="search"><h4><?php _e('Search','k2_domain'); ?></h4>
    		<?php include (TEMPLATEPATH . '/searchform.php'); ?>
    	</div>

    This is in searchform.php so that’s the place where it should be.

    Thread Starter niktabah

    (@niktabah)

    Dear Emil Uzelac & Samuel B, and others
    below is the Sidebar (sidebar.php) code for my K2 version K2 1.1 RC1 and i using Wp Version 3.0.4

    <?php
    /**
    * The template for displaying the sidebar.
    *
    * @package WordPress
    * @subpackage K2
    * @since K2 unknown
    */

    if ( ! get_post_custom_values(‘hidesidebar1’) && is_active_sidebar(‘widgets-sidebar-1’) ): ?>

    <div id=”widgets-sidebar-1″ class=”widgets secondary”>
    <?php dynamic_sidebar(‘widgets-sidebar-1’); ?>
    </div><!– #widgets-sidebar-1 –>

    <?php endif; ?>

    <?php if ( ! get_post_custom_values(‘hidesidebar2’) && is_active_sidebar(‘widgets-sidebar-2’) ): ?>

    <div id=”widgets-sidebar-2″ class=”widgets secondary”>
    <?php dynamic_sidebar(‘widgets-sidebar-2’); ?>
    </div><!– #widgets-sidebar-2 –>

    <?php endif; ?>

    <div class=”clear”></div>

    according to the above code i cannot find the latest code given by Emil Uzelac..

    hope it will be solve next..

    Just downloaded K2 1.1 RC1 and searchform.php looks the same to me ?? And that was what I could find.

    same here

    Thread Starter niktabah

    (@niktabah)

    Dear Emil Uzelac & Samuel B…

    tq for your effort to help me..tq very much..it mean i can’t change the word/sentence of search in the serch box to Type and Wait to Search????

    so any suggestion or any plugin to solve it??

    I went and searched the entire theme and the only place where you’re able to change this was indeed the searchform.php. What I would like to know if you’re making the changes via FTP wp-content/themes/k2/searchform.php directly or via Dashboard? The reason why is that sometimes if your WordPress theme files aren’t with the correct file permissions you won’t be able to save the changes directly from there and FTP would be your best bet. Now the very last resource that I can think of is to update this from your /languages/k2.pot folder.

    #: ../searchform.php:5
    msgid "Search &raquo;"
    msgstr ""

    To open k2.pot you’ll need plain text editor i.e. Notepad or similar.

    Thread Starter niktabah

    (@niktabah)

    Dear Uzelac…
    tq for your effort sir…
    for your information, i have making the changes via Dashboard..i will try it using FTP wp-content/themes/k2/searchform.php

    not a problem ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Sentense of Serch to change’ is closed to new replies.