Created
January 14, 2018 05:29
-
-
Save braddalton/8ae72a00c1683ea5b0de27e686888ff2 to your computer and use it in GitHub Desktop.
Academy Pro Change all flexible layouts to Front Page 4 Style https://wp.me/p1lTu0-hk7
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
function academy_do_widget( $id ) { | |
$count = academy_count_widgets( $id ); | |
$columns = academy_alternate_widget_area_class( $id ); | |
genesis_widget_area( $id, array( | |
'before' => "<div id=\"$id\" class=\"front-page-4\"><div class=\"flexible-widgets widget-area $columns\"><div class=\"wrap\">", | |
'after' => "</div></div></div>", | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment