File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed
Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ function bfg_google_fonts() {
8282 // Customizer Helper
8383 require_once ( BFG_THEME_MODULES . 'customizer-library/customizer-library.php ' );
8484
85- // Custom SiteOrigin Widgets
86- require_once ( BFG_THEME_MODULES . 'siteorigin/siteorigin.php ' );
87-
8885 // Include php files from lib folder
8986 // @link https://gist.github.com/theandystratton/5924570
9087 foreach ( glob ( dirname ( __FILE__ ) . '/lib/*.php ' ) as $ file ) {
Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ function bfg_customizer_options() {
2525 // Adds the sections to the $options array
2626 $ options ['sections ' ] = $ sections ;
2727
28- // Sections Goes Here
28+ // Footer
2929 $ section = 'footer ' ;
3030
3131 $ sections [] = array (
3232 'id ' => $ section ,
3333 'title ' => __ ( 'Footer ' , 'bfg ' ),
34- 'priority ' => '60 ' ,
34+ 'priority ' => '35 ' ,
3535 'description ' => __ ( '' , 'bfg ' )
3636 );
3737 $ options ['footer ' ] = array (
@@ -42,13 +42,13 @@ function bfg_customizer_options() {
4242 'default ' => ''
4343 );
4444
45- // Typography
45+ // Typography
4646 $ section = 'typography ' ;
4747 $ font_choices = customizer_library_get_font_choices ();
4848 $ sections [] = array (
4949 'id ' => $ section ,
5050 'title ' => __ ( 'Typography ' , 'bfg ' ),
51- 'priority ' => '80 '
51+ 'priority ' => '30 '
5252 );
5353 $ options ['heading-font ' ] = array (
5454 'id ' => 'heading-font ' ,
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ function bfg_siteorigin_widgets( $folders ){
55 return $ folders ;
66}
77
8- add_filter ('siteorigin_widgets_widget_folders ' , 'bfg_siteorigin_widgets ' );
8+ add_filter ( 'siteorigin_widgets_widget_folders ' , 'bfg_siteorigin_widgets ' );
You can’t perform that action at this time.
0 commit comments