Skip to content

tag class now badge and menu markup suggestions #1

@misiman

Description

@misiman

Hi and thanks for sharing.

I found a couple of minor issues which you might not know about:

  1. Bootstrap have resolved the Wordpress .tag class conflict which has now been replaced by .badge - see Rename .tag to .badge to avoid conflicting with WordPress twbs/bootstrap#21020
  2. In bootstrap-menu.php, it appears that add_filter( 'wp_nav_menu_args', 'wp_bootstrap_nav_menu_args', 10, 2 ); is removing the .nav-link class from the markup.
  3. In bootstrap-menu.php, some of the class outputs have leading or trailing spaces which need trimming before being added to the attributes array.
  4. Bootstrap-menu.php is missing the for expanding/collapsing the mobile menu - maybe this is something you intentionally left out?

Hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions