使用html标签作为小部件区域标题


using html tag for widget area title

我想在小工具区域注册一个带有html自定义标题的侧边栏。

我的注册小部件功能类似;

register_sidebar(array(
  'name' => __( '<img src="'.$keepAdminImages.'/_assets/_img/keepSignature.png" />' ),
  'id' => 'keepSense-Left',
  'description' => __( 'keepSense Temanızda Sol alanda yer alacak bileşenlerinizi bu kısma sürükleyip bırakabilirsiniz.' ),
  'before_title' => '<h1>',
  'after_title' => '</h1>'
));
$keepAdminImages = get_bloginfo('template_url');

它的输出似乎是:http://prntscr.com/tbbmw如何在该区域使用一些html标记?有什么帮助吗?谢谢

Fatih,我认为你不能在管理区使用图像。你检查过了吗http://core.trac.wordpress.org/browser/tags/3.5.1/wp-includes/widgets.php#L0?