Skip to content

paulgeisler/advanced-custom-fields-widget-relationship-field-add-on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Advanced Custom Fields - Widget Relationship Field add-on ===
Contributors: djbokka
Tags: advanced custom fields, widget, widget management, widget filter, widget relationship
Requires at least: 3.3
Tested up to: 3.6.0
Stable tag: 1.31
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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.

== 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.


== 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' );

}`



== Frequently asked questions ==

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


== Screenshots ==

1. Configuration on ACF settings

2. Usage at the page level



== Changelog ==

= 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.