Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alwaysblank/climber
An alternative to WordPress's Walker for navigation menus.
https://github.com/alwaysblank/climber
wordpress
Last synced: about 2 months ago
JSON representation
An alternative to WordPress's Walker for navigation menus.
- Host: GitHub
- URL: https://github.com/alwaysblank/climber
- Owner: alwaysblank
- License: mit
- Created: 2018-01-05T21:47:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-17T18:01:31.000Z (over 5 years ago)
- Last Synced: 2024-04-18T22:03:11.857Z (9 months ago)
- Topics: wordpress
- Language: PHP
- Size: 113 KB
- Stars: 48
- Watchers: 5
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# š§ Climber
### Why [walk](https://codex.wordpress.org/Class_Reference/Walker) when you can climb?An alternative to WordPress's built-in Nav_Walker, š§ Climber creates a more
reasonable data structure, which can be interacted with directly or used to
generate the HTML for a navigation menu.[![Build Status](https://travis-ci.org/alwaysblank/climber.svg?branch=master)](https://travis-ci.org/alwaysblank/climber)
#### ā ļø Currently in Development ā ļø
#### ā” Probably not ready for production ā”## Usage
The simplest implementation of š§ Climber looks like this:
```php
use Livy\Climber;echo new Climber(
new Tree(
new Spotter\WordPress(wp_get_nav_menu_items($menuID))
)
);//
//