我想了解 http://theme-fusion.com/avada/样式选择器。
访问者可以更改背景,布局等。
有没有插件?或者一些脚本。
如何开发它以与WordPress一起使用
它只是 2 个 CSS 样式表,用户可以用一点 JS 来切换。
$('select').change(function (){
var newCSS = $(this).val();
if(newCSS == "style2"){
$('link[href="style1.css"]').attr('href','style2.css');
}
else {
$('link[href="style2.css"]').attr('href','style1.css');
}
});
您不需要WP插件来执行此操作。