1
我正在創作Wordpress主題。我想要的是添加一個自定義標題的主題。如何在下面的代碼片段中獲取標題選擇器?將小工具添加到Wordpress創世紀主題
// Add support for custom header.
add_theme_support('custom-header', array(
'width' => 600,
'height' => 160,
'header-text' => false,
'flex-height' => true,
));