Skip to content

Commit

Permalink
Updates - HighTechU and UI Fixes (#1)
Browse files Browse the repository at this point in the history
* Update composer.json
* Update class-wp-bootstrap-navwalker.php
Change col-md-6 to col-md-4
  • Loading branch information
FlyteWizard committed Dec 9, 2019
1 parent 1080ca6 commit ba4f7b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion class-wp-bootstrap-navwalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0
// Add some additional default classes to the item.
$classes[] = 'menu-item-' . $item->ID;
$classes[] = 'nav-item';
$classes[] = 'col-md-6';
$classes[] = 'col-md-4';

// Allow filtering the classes.
$classes = apply_filters( 'nav_menu_css_class', array_filter( $classes ), $item, $args, $depth );
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"name": "ivanpmartell/wp-bootstrap-navwalker",
"name": "hightechu/wp-bootstrap-navwalker",
"description": "A custom WordPress nav walker class to fully implement the Bootstrap 4 navigation style in a custom theme using the WordPress built in menu manager.",
"type": "library",
"license": "GPL-3.0+",
"authors": [
{
"name": "HighTechU"
},
{
"name": "Ivan Perez"
},
Expand All @@ -16,8 +19,8 @@
}
],
"support": {
"issues": "https://github.com/ivanpmartell/wp-bootstrap-navwalker/issues/",
"source": "https://github.com/ivanpmartell/wp-bootstrap-navwalker/"
"issues": "https://github.com/hightechu/wp-bootstrap-navwalker/issues/",
"source": "https://github.com/hightechu/wp-bootstrap-navwalker/"
},
"require": {
"php": ">=5.3.2",
Expand Down

0 comments on commit ba4f7b4

Please sign in to comment.