Advanced Custom Fields – Widget Relationship Field add-on
Dallas Johnson By Dallas Johnson

January 02, 2014

Advanced Custom Fields – Widget Relationship Field add-on Plugin

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.

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.

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’ );

    }

Screenshots

  1. <p>Configuration on ACF settings</p>

    Configuration on ACF settings

  2. <p>Usage at the page level</p>

    Usage at the page level

FAQ

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

Changelog

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.

Details

  • Version: 1.3.4
  • Active installations: 900
  • WordPress Version: 3.3
  • Tested up to: 3.6.0

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars