Plugin Support
Vanesa
(@vanesarodriguez)
Hello there!
I hope you are doing great 😀
You can change this text by overriding the following archive: \plugins\yith-woocommerce-ajax-product-filter\templates\filters\filter-tax.php line 48.
I hope this information was helpful.
We remain at your disposal for any other doubt.
Thread Starter
lfctom
(@lfctom)
Thanks for the reply.
I did find this already, but this is not working unfortunately. Can you please have a look for me?
Website: https://lakro.chucksweb.nl/ See screenshot below. I changed it to “Custom text” but this is not showing.
Plugin Support
Vanesa
(@vanesarodriguez)
Hello,
Please try keeping the line but just changing the text:
<?php echo esc_html( _x( 'CUSTOM TEXT HERE', '[FRONTEND] Show more link on tax filters', 'yith-woocommerce-ajax-navigation' ) ); ?>
Try it and let us know.
Thread Starter
lfctom
(@lfctom)
Thanks for the reply. It still isn’t working. It is still showing “Show more” in the frontend. Even if I delete the whole piece of code it still is showing the “Show more” function and text.
Hi,
We could see you are using a select filter type, which use another specific template for the element, to edit this label, please add the following code in the functions.php of your theme:
if( ! function_exists( 'yith_wcan_change_show_more_label' ) ){ add_filter('yith_wcan_shortcodes_script_labels', 'yith_wcan_change_show_more_label'); function yith_wcan_change_show_more_label($labels){ $labels['show_more'] = 'Custom Text'; return $labels; } }
I hope this code can help you.
Thread Starter
lfctom
(@lfctom)
Thank you so much! It is working now.