Mô tả
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.
Ảnh màn hình
Cài đặt
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
-
In
sidebar.php
, replacedynamic_sidebar()
function with the newdynamic_widgets()
method.
if ( ! acf_Widget::dynamic_widgets( ‘Side Bar’ ) ) {//fallback to default function if you like
dynamic_sidebar( ‘Side Bar’ );}
Hỏi đáp
https://bitbucket.org/djbokka/widget-relationship-field-add-on-for-advanced-custom-fields
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Advanced Custom Fields – Widget Relationship Field add-on” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Advanced Custom Fields – Widget Relationship Field add-on” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
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.