Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Advanced Custom Fields – Menu Field add-on

Skildring

This is an add-on for the Advanced Custom Fields WordPress plugin and will not provide any functionality to WordPress unless Advanced Custom Fields is installed and activated.

This add-on creates an Advanced Custom Fields field type that, when associated with a WordPress Menu, renders a single or optionally, a multi select element, containing the items in the menu.

The user selection is returned as a plain text string, or, if the field is configured as a multi select, as an array.

Installasjon

  1. Upload the acf-menu-field directory to the /wp-content/plugins/ directory found in your web root.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Create a new custom field with the type «WordPress Menu».

There is no need to use ACF’s register_field(); method for this field. This plugin will, if ACF is installed and actived, register the field automatically.

You can also include this plugin directly in your theme by using require('path_to_menu_field.php');.

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Advanced Custom Fields – Menu Field add-on” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.0.0
Initial release.