Created
September 25, 2017 12:52
-
-
Save topleague/57d783a6cb42cb67269de08b2866017f to your computer and use it in GitHub Desktop.
Register Widgets with FadeUp Class
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
// Register a new widget area (this code snippet should go in functions.php) | |
genesis_register_widget_area( | |
array( | |
'id' => "your-widget-area", | |
'name' => __( "Your Widget", 'your-theme-text-domain' ), | |
'description' => __( "This is Your Widget Area section.", 'your-theme-text-domain' ), | |
) | |
); | |
// Display Widget Area (this code snippet should go in front.php) | |
genesis_widget_area( "your-widget-area", array( | |
'before' => '<div class="your-widget-area front-page-section"><div class="wrap"> <div class="widget-area fadeup-effect">', | |
'after' => '</div></div></div>', | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment