-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
executable file
·41 lines (35 loc) · 1.24 KB
/
Copy pathfunctions.php
File metadata and controls
executable file
·41 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* DC Bama Fans functions and definitions.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package DC_Bama_Fans
*/
/*=====================================================================================
Initialize Theme Setup
@since dcbamafans 1.0.0
======================================================================================*/
require('inc/theme_setup.php');
/*=====================================================================================
*
* START ADDITIONAL CUSTOMIZATIONS BELOW THIS SECTION
*
======================================================================================*/
/**
* Register widget area.
*
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
*/
function dcbamafans_widgets_init() {
register_sidebar( array(
'name' => esc_html__( 'Sidebar', 'dcbamafans' ),
'id' => 'sidebar-1',
'description' => esc_html__( 'Add widgets here.', 'dcbamafans' ),
'before_widget' => '<section id="%1$s" class="widget %2$s">',
'after_widget' => '</section>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
) );
}
add_action( 'widgets_init', 'dcbamafans_widgets_init' );