wearerequired / custom-menu-item-types Goto Github PK
View Code? Open in Web Editor NEWAdditional menu item types that can be easily added to the menu like line breaks and titles.
License: GNU General Public License v2.0
Additional menu item types that can be easily added to the menu like line breaks and titles.
License: GNU General Public License v2.0
PHP: 7.0
WP: 4.9
Shortcodes are already supported, what if we do the same for blocks? ๐ฅ
They are not used.
WordPress 5.4 introduces a new action wp_nav_menu_item_custom_fields
to support custom menu items.
A mentioned in #14 (comment).
To use the plugin in Composer you currently have to use
"wearerequired/wp-requirements-check": "dev-master",
"wearerequired/custom-menu-item-types": "dev-master",
I'd like to use a specific version constraint like ~1.0.0
.
Btw: Shouldn't the composer.lock
file be ignored?
custom-menu-item-types/classes/Custom_Menu_Items.php
Lines 48 to 50 in eeb0e30
The "Line Break" type doesn't add a line break, instead it's a <hr>
element which is more of a separator.
Already done for the Header Type in #3
Related: #2.
Worth to mention that there're currently no tests yet the builds are failing.
https://travis-ci.com/wearerequired/custom-menu-item-types/builds
It's currently h4
by default.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.