Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialmarkwong2
2,302 PointsCan't get my widgets activated
Hi there,
Here's my code for the sidebar in functions.php. For some reason it isn't activating inside wordpress under the appearance tab. Not sure if I'm missing something or that I didn't activated some other things in the functions.php.
$args = array(
'name' => __( 'widget name' ),
'id' => 'unique_widget_name',
'description' => '',
'before_widget' => '',
'after_widget' => '',
'before_title' => '<h5>',
'after_title' => '</h5>'
);
register_sidebar( $args );
1 Answer
markwong2
2,302 PointsNevermind, i got it working. Was saving it wrong location....