-
-
Save nirbhay18/fa0aa22deb5a9fe3616c7452b12d2da3 to your computer and use it in GitHub Desktop.
Add Logo to Fullscreen Advanced Menu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Advanced Menu - Logo in Fullscreen Menu | |
function powerpack_fullscreen_menu_logo( $type, $settings, $id ) | |
{ | |
if ( $settings->id != 'fullscreen_menu' ) { | |
return; | |
} | |
?> | |
<div class="pp-menu-logo-extra-fullscreen"> | |
<div class="pp-menu-logo-container"> | |
<a href="https://wpbeaveraddons.com/" target="_self"> | |
<img class="pp-menu-logo" src="https://mk0beaveraddonsc9xx2.kinstacdn.com/wp-content/uploads/powerpack-grey.png"> | |
</a> | |
</div> | |
</div> | |
<?php | |
} | |
add_action( 'pp_advanced_menu_before', 'powerpack_fullscreen_menu_logo', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment