Linux 软件免费装

Menu Item Custom Fields

开发者 kucrut
更新时间 2017年2月11日 13:54
PHP版本: 3.8 及以上
WordPress版本: 4.7.2
版权: GPLv2
版权网址: 版权信息

标签

menu metadata nav-menu custom-fields

下载

0.1.0 0.1.1 0.2.0 0.2.1 0.3.0 0.4.0 1.0.0

详情介绍:

Breaking Change Since version 1.0.0, the first parameter passed to the wp_nav_menu_item_custom_fields is the menu item ID, instead of the nav menu ID. This should not have a big impact, since the nav menu ID passed was always 0 (not used by core). This is a library plugin. It doesn't do anything visible on its own. It was written to allow other plugins/themes to add custom fields to menu items easily. See Installation. Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

安装:

As regular plugin
  1. Upload menu-item-custom-fields to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
As library in your plugin/theme Simply copy menu-item-custom-fields to your plugin directory and require the main plugin file, eg: require_once dirname( __FILE__ ) . '/menu-item-custom-fields/menu-item-custom-fields.php'; Usage Copy (and customize) and include the menu-item-custom-fields-example.php file found in the doc/ directory of this plugin into your plugin/theme.

更新日志:

1.0.0 0.4.0 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0