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
b0b4951f
authored
2023-11-23 14:49:11 -0500
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
qa
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
570e9540
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
wp-content/themes/msf-child/global-templates/navbar-branding.php
wp-content/themes/msf-child/global-templates/navbar-branding.php
View file @
b0b4951
...
...
@@ -29,5 +29,11 @@ if ( ! has_custom_logo() ) { ?>
<?php
}
else
{
the_custom_logo
();
$custom_logo_id
=
get_theme_mod
(
'custom_logo'
);
$logo
=
wp_get_attachment_image_src
(
$custom_logo_id
,
'full'
);
if
(
has_custom_logo
()
)
{
echo
'<img width="150" height="62" src="'
.
esc_url
(
$logo
[
0
]
)
.
'" alt="'
.
get_bloginfo
(
'name'
)
.
'">'
;
}
else
{
echo
'<h1>'
.
get_bloginfo
(
'name'
)
.
'</h1>'
;
}
}
...
...
Please
register
or
sign in
to post a comment