Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-theme
view
frontend
templates
html
header
logo.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
12
?>
13
<?php
$storeName
=
$block
->getThemeName() ?
$block
->getThemeName() :
$block
->getLogoAlt();?>
14
<span data-action=
"toggle-nav"
class
=
"action nav-toggle"
><span><?=
/* @escapeNotVerified */
__
(
'Toggle Nav'
) ?></span></span>
15
<?php
if
(
$block
->isHomePage()):?>
16
<strong
class
=
"logo"
>
17
<?php
else
: ?>
18
<a
class
=
"logo"
href=
"<?= $block->getUrl('') ?>"
title=
"<?= /* @escapeNotVerified */ $storeName ?>"
>
19
<?php
endif
?>
20
<img src=
"<?= /* @escapeNotVerified */ $block->getLogoSrc() ?>"
21
title=
"<?= /* @escapeNotVerified */ $block->getLogoAlt() ?>"
22
alt=
"<?= /* @escapeNotVerified */ $block->getLogoAlt() ?>"
23
<?=
$block
->getLogoWidth() ?
'width="'
.
$block
->getLogoWidth() .
'"'
:
''
?>
24
<?=
$block
->getLogoHeight() ?
'height="'
.
$block
->getLogoHeight() .
'"'
:
''
?>
25
/>
26
<?php
if
(
$block
->isHomePage()):?>
27
</strong>
28
<?php
else
:?>
29
</a>
30
<?php
endif
?>
__
__()
Definition:
__.php:13
$block
$block
Definition:
block.php:8
endif
endif
Definition:
404.phtml:116
$storeName
$storeName
Definition:
logo.phtml:13