Placeholder Text in Search

Homepage Forums WP Travel Pro Placeholder Text in Search

This topic contains 5 replies, has 3 voices, and was last updated by  Support Team 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #16652

    paulo232
    Participant

    Where can you change the placeholder text in the dearth bar, see http://prntscr.com/nyudy5 want to change it to say something else

    #16670

    wensolutions
    Keymaster

    Hello @paulo232

    As the search bar comes from the theme, can you please specify which theme you are using so that we can inspect the issue further ?

    Hope to hear from you soon.

    Best Regards!

    #16672

    paulo232
    Participant

    Travel Gem Pro

    #16687

    Support Team
    Keymaster

    Hello @paulo232,

    We would like to apologize for the delay in response.

    To replace the place holder of the search section, you need to add below given code in your child themes functions.php file.

    To know how you can create and activate the child theme, please refer to below given link:

    https://wptravel.io/how-to-create-a-child-theme/

    After activating the child theme in your child theme’s functions.php file add below given code.

    https://pastebin.com/Fkdun2YC

    Here change your desire text into something else from line no: 11

    Hope this helps.

    Thank you.

    #16700

    paulo232
    Participant

    It has thank you, another question, how do you change the word “Explore” on the trip as per screenshot http://prntscr.com/nzxfnr

    Thanks

    #16701

    Support Team
    Keymaster

    Hello @paulo232,

    Glad that the code worked.

    As for changing the text of explore button you need to at first create the folder “wp-travel” inside the child theme.

    Finally, create the file “content-archive-itineraries.php” inside the folder “wp-travel” and paste below given code.

    https://pastebin.com/a1wfz7EK

    Change the text at line no: 116

    Hope this helps.

    Thank you.

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

You must be logged in to reply to this topic.