I’m also looking for the widget title variable so that i can give my widgets an “id”.
The variable i’ve seen in other pages/themes that refer to the title is: %1$s
However when i place it into my “functions.php”:
<?php
if ( function_exists(‘register_sidebars’) )
register_sidebars(2, array(
‘before_widget’ => ‘<div class=”menuHead”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<ul id=”%1$s”>
- <h2>’,
‘after_title’ => ‘</h2>
It doesn’t work..:(. My PHP experience is extremely limited so any help would be appreciated.