从页面中删除声音效果

时间:2017-01-30 21:12:12

标签: javascript jquery wordpress

请删除请删除请删除

3 个答案:

答案 0 :(得分:0)

你能修改那行JS代码吗?如果是这样,将文件值清空应该有效...

var themeajax = {"url":"http:\/\/..\/wp-admin\/admin-ajax.php","l10n":{"loading":"Loading ...","nomore":"No More Posts","added":"Added To Cart","added_svg":"<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 64 64\" enable-background=\"new 0 0 64 64\"><path fill=\"none\" stroke=\"#000\" stroke-width=\"2\" stroke-linejoin=\"bevel\" stroke-miterlimit=\"10\" d=\"m13 33l12 12 24-24\"\/><\/svg>"},
"sounds":{"music_sound":"off","music_sound_toggle_home":"on","music_sound_file": NULL,"menu_item_hover_sound":"off","menu_item_hover_sound_file": NULL,"menu_open_sound":"off","menu_open_sound_file": NULL,"menu_close_sound":"off","menu_close_sound_file": NULL,"click_sound":"off","click_sound_file": NULL}};

答案 1 :(得分:0)

根据主题作者的说法,您可以在“外观”下的“主题选项”中切换声音。第3个问题在这个页面上.. ctrl + f“sound”https://themeforest.net/item/werkstatt-creative-portfolio-theme/17870799/comments?page=5

答案 2 :(得分:0)

我建议您创建一个子主题,以便从主题中更改enqeue_scripts函数,其中包含用于播放声音的javascript。

你可以粘贴主题的functions.php来查看enqeueing发生的位置吗?