我有问题..
在管理员我有
array(
'id' => 'home_dynamic',
'type' => 'textarea',
'title' => __('Dynamic Text', 'lex') ,
desc' => __('<br />Input each text in the new line.', 'lex'),
),
在style.css.php
中我有此代码
.home-header {
background: <?php echo $dark_color; ?> url(' <?php $dynamic2 = get_option( "home_dynamic2" ); echo str_replace( "\n", "[dyn]", $dynamic2 ); ?>') no-repeat;
background-attachment: fixed;
background-size: cover;
}
如何修改此代码才能正常工作?