Created
July 24, 2017 14:23
-
-
Save manhleo93/cc3aab0b42312ad4952a92a99c01130d to your computer and use it in GitHub Desktop.
This file contains 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 front-page widget areas | |
for ( $i = 1; $i <= 5; $i++ ) { | |
genesis_register_widget_area( | |
array( | |
'id' => "front-page-{$i}", | |
'name' => __( "Front Page {$i}", 'my-theme-text-domain' ), | |
'description' => __( "This is the front page {$i} section.", 'my-theme-text-domain' ), | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment