Title: Advanced Custom Fields &#8211; Widget Relationship Field add-on
Author: djbokka
Published: <strong>2013 年 1 月 18 日</strong>
Last modified: 2014 年 1 月 2 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-widget-relationship-
field-add-on.svg)

# Advanced Custom Fields – Widget Relationship Field add-on

 作者：[djbokka](https://profiles.wordpress.org/djbokka/)

[下载](https://downloads.wordpress.org/plugin/advanced-custom-fields-widget-relationship-field-add-on.1.3.4.zip)

 * [详情](https://cn.wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/#description)
 * [评价](https://cn.wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/#developers)

 [支持](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/)

## 描述

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.

## 屏幕截图

[⌊Configuration on ACF settings⌉⌊Configuration on ACF settings⌉[

Configuration on ACF settings

[⌊Usage at the page level⌉⌊Usage at the page level⌉[

Usage at the page level

## 安装

 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’ ) ) {
 4. //fallback to default function if you like dynamic_sidebar( ‘Side Bar’ );
 5. }

## 常见问题

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

## 评价

此插件暂无评价。

## 贡献者及开发者

「Advanced Custom Fields – Widget Relationship Field add-on」是开源软件。 以下人员
对此插件做出了贡献。

贡献者

 *   [ djbokka ](https://profiles.wordpress.org/djbokka/)

[帮助将「Advanced Custom Fields – Widget Relationship Field add-on」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-widget-relationship-field-add-on)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/advanced-custom-fields-widget-relationship-field-add-on/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/advanced-custom-fields-widget-relationship-field-add-on/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/advanced-custom-fields-widget-relationship-field-add-on/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/advanced-custom-fields-widget-relationship-field-add-on/)。

## 更新日志

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

## 额外信息

 *  版本 **1.3.4**
 *  最后更新：**13 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 3.3 或更高版本 **
 *  已测试的最高版本为 **3.6.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/)
 * 标签
 * [advanced custom fields](https://cn.wordpress.org/plugins/tags/advanced-custom-fields/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)[widget management](https://cn.wordpress.org/plugins/tags/widget-management/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-custom-fields-widget-relationship-field-add-on/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/reviews/)

## 贡献者

 *   [ djbokka ](https://profiles.wordpress.org/djbokka/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-custom-fields-widget-relationship-field-add-on/)