WordPress功能函数background_image(),显示背景图像路径。
来源:
https://ajcxy.com/tag/%e6%96%87%e4%bb%b6" target="_blank">文件: wp-includes/theme.php
function background_image() {
echo get_background_image();
}
更新日志:

用户贡献的笔记

(由Codex – 5年前贡献)
显示背景图片
<img src=”” alt=”” />
(由Nilambar Sharma于5年前贡献)
显示背景图片
<img src=”https://www.wpzt.net/<?php background_image(); ?>” alt=”” />