我函数是这样的:
function abc(){
if (of_get_option('pattern_option') != '') {
$pattern = of_get_option('pattern_option');
$custom_pattern = '
html{
background: url('.echo $pattern .') repeat !important;
}
.page_site{
background: url($pattern) repeat !important;
}
';
};
};
我怎么能呼应背景的URL,我尝试在许多方面并没有什么帮助,总是得到解析错误。
感谢您的时间
感谢-1 ...点击更多:/ – Wordica
我讨厌谁downvote没有人解释为什么男人。返回主题。你有没有试过这个:background:url('。$ pattern。')repeat!important;和背景:url('。$ pattern。')repeat!important; – Oliver
是的,试试吧.... – Wordica