このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

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

  • 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’ ) ) {

    //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

評価

このプラグインにはレビューがありません。

貢献者と開発者

Advanced Custom Fields – Widget Relationship Field add-on はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Advanced Custom Fields – Widget Relationship Field add-on” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

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.