Hi there guys π
We use a custom flyout in our GP starter theme. And we always have to manually update the logo in it.
And we decided today to make it better – and we failed :p
See below our function, and what would be great…would be if the image that outputs in here, could be automatically the same as the logo chosen in customizer.
Is it possible?
No problemo if it’s not π
Cheers
Paul
add_action( 'generate_inside_slideout_navigation','generate_slideout_navigation_logo' );
function generate_slideout_navigation_logo()
{
?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img class="slideout-nav-logo" src="" alt="" /></a>
<?php
}