the_custom_logo

函数
the_custom_logo ( $blog_id = 0 )
参数
  • (int) $blog_id Optional. ID of the blog in question. Default is the ID of the current blog.
    Required:
定义位置
相关方法
has_custom_logoget_custom_logothe_author_loginget_the_author_loginthe_author_url
引入
4.5.0
弃用
-

the_custom_logo – 这个函数用来显示一个网站的自定义标志。它需要几个参数,允许自定义输出,如标志的大小和类别。

显示一个自定义的标志,链接到主页,除非主题支持在主页上删除链接。

function the_custom_logo( $blog_id = 0 ) {
	echo get_custom_logo( $blog_id );
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-05 17:32:57

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: