├── bs5starter ├── js │ └── custom.js ├── css │ └── custom.css ├── footer.php ├── functions.php ├── index.php ├── functions │ ├── setup.php │ ├── enqueues.php │ └── navbar.php ├── style.css └── header.php ├── .gitignore └── README.md /bs5starter/js/custom.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bs5starter/css/custom.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bs5starter/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /bs5starter/functions.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |
6 |

Bootstrap 5 starter template

7 |

Use this document as a way to quickly start any new project.
All you get is this text and a mostly barebones HTML document.

8 |
9 | 10 |
11 | 12 | -------------------------------------------------------------------------------- /bs5starter/functions/setup.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /bs5starter/functions/navbar.php: -------------------------------------------------------------------------------- 1 | current_item->classes as $class) { 25 | if(in_array($class, $this->dropdown_menu_alignment_values)) { 26 | $dropdown_menu_class[] = $class; 27 | } 28 | } 29 | $indent = str_repeat("\t", $depth); 30 | $submenu = ($depth > 0) ? ' sub-menu' : ''; 31 | $output .= "\n$indent