https://github.com/alexdelorenzo/wordpress_menu
Drop down menu for Wordpress
https://github.com/alexdelorenzo/wordpress_menu
async es6 wordpress wordpress-rest wordpress-rest-api
Last synced: 4 months ago
JSON representation
Drop down menu for Wordpress
- Host: GitHub
- URL: https://github.com/alexdelorenzo/wordpress_menu
- Owner: alexdelorenzo
- License: agpl-3.0
- Created: 2017-02-18T01:01:33.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T18:38:29.000Z (over 4 years ago)
- Last Synced: 2025-01-18T22:48:34.610Z (5 months ago)
- Topics: async, es6, wordpress, wordpress-rest, wordpress-rest-api
- Language: JavaScript
- Homepage:
- Size: 398 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dynamic Drop Down Menu for Wordpress
Theme agnostic drop down menu for Wordpress. Built on WP-REST API included in Wordpress 4.7+. Will adopt any theme's CSS styling and behavior for drop down menus.
Works on hosts that don't allow plugins or modification of Wordpress installs. Just embed in your Wordpress install's header.
## Dependencies
- compatible browser or babel (w/ es2015,stage-2 + polyfill) + fetch polyfill
- jQuery
## Usage
1) Embed this script in your page.2) Wrap name of a menu entry with:
```
```Where `category_name` is a category used to tag articles with
3) A dynamic menu will now appear under your menu item.
It will adopt your Wordpress theme's appearance and behavior.## Copyright
Copyright Alex DeLorenzo 2017
## License
See `LICENSE`