Cette extension n’a pas été testée avec plus de trois mises à jour majeures de WordPress. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

Advanced Custom Fields – Widget Relationship Field add-on

Description

IMPORTANT! NOW ONLY COMPATIBLE WITH ACF 4.2 AND ABOVE! BACKWARD COMPATIBILITY HAS BEEN REMOVED.

This plugin is an add-on for Advanced Custom Fields. It allows you to use an ACF « relationship » field to choose widgets at a page level.

Inherit widgets from parent post or menu items. Drag and drop to change widget display order.

Documentation

https://bitbucket.org/djbokka/widget-relationship-field-add-on-for-advanced-custom-fields

Bug Submission and Support

https://bitbucket.org/djbokka/widget-relationship-field-add-on-for-advanced-custom-fields

Rate this plugin

If this plugin helps you, please give it a good rating. If you have any problems, please ask me. I’m happy to help.

Captures d’écrans

  • Configuration on ACF settings

  • Usage at the page level

Installation

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In sidebar.php, replace dynamic_sidebar() function with the new dynamic_widgets() method.
    if ( ! acf_Widget::dynamic_widgets( ‘Side Bar’ ) ) {

    //fallback to default function if you like
    dynamic_sidebar( ‘Side Bar’ );

    }

FAQ

https://bitbucket.org/djbokka/widget-relationship-field-add-on-for-advanced-custom-fields

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs/contributrices & développeurs/développeuses

« Advanced Custom Fields – Widget Relationship Field add-on » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal des modifications

1.3.4

  • Left a debugging line in. I’m an idiot. Sorry.

1.3.3

  • Fixed multiple field bug to allow multiple and default format.

1.3.2

  • Fixed multiple field bug.

1.3.1

  • Incorporated change by Jon Tascher to support Options Pages.

1.3

  • Bug fix when running multiple relationship fields.

1.2

  • Updated js and field code for ACF 4.2. NO LONGER BACKWARD COMPATIBLE.

1.1

  • Added ACF 4 structure with backward compatibility to ACF 3.

1.0.2

  • Fixed paging bug (thanks for Dylan Kuhn for pointing it out and providing the solution).

1.0.1

  • Changed javascript functions to account for ACF version 3.5.8 upgrade. Still backward compatible.

1.0

  • Initial Commit.