Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jeff Balicki
/
st_joseph
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
ba221ea5
authored
2023-02-09 13:58:30 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
sss
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
42f549e6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
wp-content/themes/crlg/functions.php
wp-content/themes/crlg/functions.php
View file @
ba221ea
...
...
@@ -108,3 +108,10 @@ function template_chooser($template)
add_filter
(
'template_include'
,
'template_chooser'
);
add_action
(
'after_setup_theme'
,
'remove_admin_bar'
);
function
remove_admin_bar
()
{
if
(
!
current_user_can
(
'administrator'
)
&&
!
is_admin
())
{
show_admin_bar
(
false
);
}
}
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment