wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

Navbar Brand

Open emiluzelac opened this issue 12 years ago • 2 comments

This is not an issue with the walker itself.

Menu example shows:

<a class="navbar-brand" href="<?php echo home_url(); ?>">
    <?php bloginfo('name'); ?>
</a>

we needed as:

<a class="navbar-brand" href="<?php echo esc_url( home_url( '/' ) ); ?>">
    <?php bloginfo( 'name' ); ?>
</a>

Here we're sanitize the URL.

Thanks for the great walker!

Emil

emiluzelac avatar Mar 08 '14 19:03 emiluzelac

Thanks @emiluzelac, I will update this will a new walker commit later today.

SideQuestDIY avatar Mar 10 '14 14:03 SideQuestDIY

Thank you kind sir :)

emiluzelac avatar Mar 11 '14 00:03 emiluzelac