Reputation: 1336
So in plugins/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php, there is a line I want to change in the label, from "Search for:" to "Search". If I change it in this file, it's fine, but of course I want to keep the change in my own theme rather than modify it here.
So, I copied the entire plugin folder over into my theme folder and made the change, but it's not working. The path is themes/MYTHEME/yith-woocommerce-ajax-search/templates/yith-woocommerce-ajax-search.php
Any clues why this isn't working?
Upvotes: 0
Views: 5515
Reputation: 629
The plugin uses wc_get_template()
to load yith-woocommerce-ajax-search.php
. This means that you can put the template file directly in the themes/YOURTHEME/woocommerce/
directory, then your template should be loaded correctly.
Upvotes: 3