本文介绍了将“添加到心愿单"文本替换为“心脏"图标WooCommerce的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好朋友,我默认情况下使用的是YITH WooCommerce愿望清单插件,添加到愿望清单"文本即将出现,我想将Button文本替换为图标.

Hi friends I am using YITH WooCommerce Wishlist plugin by default Add To Wishlist text is coming, I want to replace the Button text with icon.

有可能通过任何钩子吗?

is it possible through any hook?

预先感谢

推荐答案

添加到愿望清单"文本,您可以替换导航Wordpress Dashboard --> YITH Plugins --> Wishlist页面.

'Add To Wishlist' text you can replace navigating Wordpress Dashboard --> YITH Plugins --> Wishlist page.

要自定义按钮,请将文件plugins/yith-woocommerce-wishlist/templates/add-to-wishlist-button.php复制到your-theme/woocommerce目录(如果尚未创建,请创建)并应用您的更改.

To customize button, copy the file plugins/yith-woocommerce-wishlist/templates/add-to-wishlist-button.php to your-theme/woocommerce directory (If haven't created yet, create) and apply your changes.

有关更多信息,请参见插件常见问题解答,也请参见插件文档内嵌.

For more information see plugin FAQ, also plug-in documnetation.

这篇关于将“添加到心愿单"文本替换为“心脏"图标WooCommerce的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 14:08