Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
53f44931
authored
2023-07-31 19:33:51 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix widgets
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
c39fcc12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
wp-content/themes/msf-child/inc/inc.php
wp-content/themes/msf-child/inc/widgets.php → wp-content/themes/msf-child/inc/widgets-area.php
wp-content/themes/msf-child/inc/inc.php
View file @
53f4493
...
...
@@ -8,4 +8,4 @@ require_once 'search-extras.php';
require_once
'disable-comments.php'
;
require_once
'blocks.php'
;
require_once
'side-menu.php'
;
require_once
'widgets.php'
;
require_once
'widgets
-area
.php'
;
...
...
wp-content/themes/msf-child/inc/widgets.php
→
wp-content/themes/msf-child/inc/widgets
-area
.php
View file @
53f4493
<?php
function
wpb
_widgets_init
()
{
function
custom
_widgets_init
()
{
register_sidebar
(
array
(
'name'
=>
'Custom Footer Left Widget Area'
,
...
...
@@ -20,4 +20,6 @@ function wpb_widgets_init() {
)
);
}
add_action
(
'widgets_init'
,
'wpb_widgets_init'
);
\ No newline at end of file
add_theme_support
(
'widgets'
);
add_action
(
'widgets_init'
,
'custom_widgets_init'
);
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment