這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

ACF Single Relationship Add New

描述

Requires the plug-in Advanced Custom Fields.

This is a very basic add-on to allow the ability for relationship fields that are associated with a single related item, to be able to add a new
item to the related item without leaving the post/page you are currently editing. Uses a colorbox pop-up to open the add new post window with very
limited options.

Usage:

  • Install the plug-in (standard WordPress installation)
  • Set up a relationship field with only one related item (standard Advanced Custom Field configuration)
  • Add or Edit a post with the relationship and the new Add New button will show up on the relationship field
  • Click the Add New button to open Colorbox add new post for the related item
  • Click the publish button and the new item will be added (or click the X button to cancel) and the Colorbox will close
  • The newly added item will be available for selection in the relationship list

This plug-in was developed for Tanabicom, LLC and 5D Spectrum, Inc by Fancy Fiber Designs

螢幕截圖

  • Shows the new Add New button on a relationship field
  • Clicking the Add New button opens the Colorbox with the limited features. Clicking the publish button will post the new item and close the Colorbox.

安裝

  1. Be sure to have Advanced Custom Fields installed and activated first
  2. Upload acf-single-relationship-add-new directory to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Start using the feature in your admin posts and pages

常見問題

Why do I need this plug-in?

Simply, it provides a method to add new relationship items while editing a post or page, so you don’t have to leave your current screen to get a new item to show up.
Even if you were to add in a new window, the new item may not show up in the window you are working on. It is just a time saver, plain and simple.

Why did you use Colorbox instead of Thickbox built into the WordPress Admin?

The desire was to use Thickbox initially, but WordPress administration does some controlling of the size of the thickbox for the media upload and overriding these defaults
would be problematic for site I was working on at the time and presumably other sites as well.

評價

There are no reviews for this plugin.

貢獻者及開發者

“ACF Single Relationship Add New” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ACF Single Relationship Add New 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2

Fixed post type not updating afer new version of ACF installed. New ACF version split files out and changed the manner of the javascript calls.
This version should work for both old and new releases of ACF.

1.1

Fix bug when WordPress is installed in a subdirectory rather than the root. Thanks to Scott Nath for the fix.

1.0

Initial Release