I want to use a different background image for each title () that is generated by the widget in my WordPress theme. Which widgets added to the sidebar are optional? Is there a way to get this? Thank you.
当从模板中为标题为“ foo”的文章调用the_title()时,将#title_foo添加到CSS样式中(使用the_title_attribute() ),然后在CSS中更改该ID的背景。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.