public
Last active

Register a widget area for your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9
<?php
//* Do NOT include the opening php tag
 
//* Register widget area
genesis_register_sidebar( array(
'id' => 'sample',
'name' => __( 'Sample', 'custom-theme-text-domain' ),
'description' => __( 'This is the sample widget area description.', 'custom-theme-text-domain' ),
) );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.