Created
October 11, 2011 01:35
-
-
Save ethangardner/1277054 to your computer and use it in GitHub Desktop.
Create the structure for jQuery UI Accordion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This goes in the functions.php file between the php tags | |
// to make wordpress render the markup needed for a jQuery UI | |
// accordion widget area | |
register_sidebar(array( | |
'name' => 'Accordion Widget Area', | |
'id' => 'accordion-widgets', | |
'description' => 'jQuery UI accordion enabled widget area', | |
'before_widget' => '', | |
'after_widget' => '', | |
'before_title' => '<h3><a href="#">', | |
'after_title' => '</a></h3>', | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment