Created
April 2, 2019 16:43
-
-
Save wbxpress/fc7c3fd53de7f7e16ff3d8e511653d03 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
// Registers front-page widget areas. | |
for ( $i = 1; $i <= 4; $i++ ) { | |
genesis_register_widget_area( | |
array( | |
'id' => "front-page-{$i}", | |
'name' => __( "Front Page {$i}", 'genesis-sample' ), | |
'description' => __( "This is the front page {$i} section.", 'genesis-sample' ), | |
) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment