Search Bar Replace - by sozcry - on WordPress WooCommerce support

This topic has 10 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler

  • Avatar: sozcry
    sozcry
    Participant
    September 19, 2017 at 09:22

    Hello, I would like to know how can I replace the Search bar that appear in the home page shown here : https://imgur.com/B9dY4g8 with a new search bar plugin. If I am able to remove it somehow and add a new one in its place.

    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 10:01

    Hello,

    You can edit wp-content/themes/legenda/framework/theme-functions.php (Search form)
    We recommend you to copy that file in child theme directory (how to create child theme is written here: http://codex.wordpress.org/Child_Themes ) not to lose changes after the theme update or keep that file safe on your local machine and reupload it each time after theme update.

    Regards

    Avatar: sozcry
    sozcry
    Participant
    September 19, 2017 at 10:14

    what line I need to edit? and what exactly in there I need to replace or remove?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 10:54

    Open header.php file, find <?php echo etheme_search(array()); ?> (lines 233 and 242) and replace with the code you want to be displayed instead of our search form.
    Note that your query requests additional customization which is beyond our basic support scope. If you don’t have necessary skills you may contact WP-Kraken customization team.

    Regards

    Avatar: sozcry
    sozcry
    Participant
    September 19, 2017 at 11:52

    I see, lets say I want just to add something in header of my page, in the area where the logo of the shop and the cart and the search form are. Lets say I want to add one plugin there except those 3 items already there from your theme, how do I do that?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 12:12

    As I said before, you may add needed code in header.php file.
    Also, we don’t provide support for third-party plugins which do not come in our theme package.

    Regards

    Avatar: sozcry
    sozcry
    Participant
    September 19, 2017 at 13:06

    Alright I understand. Also I have one more question, I cant seem to translate the “CATEGORIES” part. I have translated everything else but I cant find where to translate the “CATEGORIES” word shown here: https://imgur.com/ZfKpofM

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 13:15

    You need to go to Appearance > Widgets > add “Woocommerce Product Categories” widget into “Shop Sidebar”

    Regards

    Avatar: sozcry
    sozcry
    Participant
    September 19, 2017 at 13:22

    Thank you very much for all your help!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 19, 2017 at 13:26

    You’re welcome!

    Regards

  • Viewing 10 results - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.