• Resolved zpervez

    (@zpervez)


    Hello Sir,
    I have wordpress twenty thirteen theme installed. i have a search bar in menu of the theme. In search bar there is a word “Search” and i want to replace this word with “Seek more in website”.
    Kindly help me in this regard or guide me with some code that i may paste in my custom CSS or in other php file please.
    Thanks and best regards.
    Zeshan

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Zeshan,

    Go to /wp-content/themes/twentythirteen/.
    Create a file called searchform.php.
    Add the following:

    <?php
    /**
     * The template for displaying search forms in Twenty Thirteen.
     *
     * @package WordPress
     * @subpackage Twenty_Thirteen
     * @since Twenty Thirteen 1.0
     */
    ?>
    <form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
    				<label>
    					<span class="screen-reader-text">Search for:</span>
    					<input type="search" class="search-field" placeholder="Seek more in website" value="" name="s" title="Search for:" />
    				</label>
     <input type="submit" class="search-submit" value="Search" />
    </form>

    Save and reload.

    Thread Starter zpervez

    (@zpervez)

    Hello Sir,
    i am thankful for your time and efforts. as per your directions i made a page searchform.php and loaded the same but no changes occurred as i wanted.
    my website link is https://www.shopintuch.com kindly check it and let me know what to do more in this regard.

    thanks

    Thread Starter zpervez

    (@zpervez)

    sorry the web link i provided up is missing one spelling. correct link is
    https://www.shopintouch.com

    thanks

    Thread Starter zpervez

    (@zpervez)

    sorry the web link i provided up is missing one spelling. correct link is
    https://www.shopintouch.com

    thanks

    I’ve tested my solution on a new install of Twenty Thirteen and verified that it worked.

    Check to make sure the path of your active theme is /wp-content/themes/twentythirteen/ and that the searchform.php file, with the contents above, is also located in that location.

    /wp-content/themes/twentythirteen/searchform.php

    Thread Starter zpervez

    (@zpervez)

    Dear Schulte,
    Thank you very much for your help and support..My purpose has been served with your guidance..
    Best Regards

    Thread Starter zpervez

    (@zpervez)

    Dear Schulte,
    I need one more help from you in this regard. This website https://www.shopintouch.com opens good in laptop and desktop but when i want to open it on smart phone it does not look nice and become in odd shape..can you guide me what code i should add in my custom CSS Manager to see my website same on mobile as it looks on desktop.
    Regards

    I see that you started a new topic on the Twenty Thirteen support forum. Just what I was going to suggest.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to replace the word search with seek in wordpress twenty thirteen search bar’ is closed to new replies.