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

Ultimate Metabox Tabs

外掛說明

Ultimate Metabox Tabs adds metabox tabs to your posts, pages and the Advanced Custom Fields options page.
They allow you to easily allow tabbable and sortable metaboxes on your editing page so that your client can do less scrolling and more editing.
They’re also inserted at server-time, meaning no ugly javascript forcing the metaboxes into the page.

螢幕擷圖

  • The tabs in action. This illustrates their insertion just underneath the "Edit Post" heading.

  • The second tab is clicked, it now shows that there is a metabox available for editing and that the content can be hidden.

  • The admin editing page for the previous 2 screenshots. It shows that you need the Div ID of the metaboxes and that you can also hide the content with +the_content

安裝方式

  1. Upload ‘ultimate-metabox-tabs’ to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click on the new menu item “Settings -> Metabox Tabs” and start sorting out your metaboxes.
  4. You’ll find the post types of which the metaboxes can be sorted on, as well as Global Options, which will affect ACF Options and all post types.
  5. Edit the desired post type/options and procede to adding tab groups, to find out your metaboxes DIV ID, go to the page using it, and inspect element it. In the latest update, you can now just select an ACF post in a select box.

Tested on

  • Windows Chrome
  • Windows Firefox
  • Windows Safari
  • Mac Chrome
  • Mac Firefox
  • Windows Internet Explorer 8

Bug Submission

Contact me at doogie1012@gmail.com

常見問題集

Q. The metabox tabs are buggy with certain plugins, either not appearing or having weird behaviour. Why?

A. As of now, on post types at least, Metabox tabs inserts itself just before the content, and pushes itself up via the CSS, this means things that attempt to hide the content may interfere. This can be averted by going to the “Patches” menu and applying the Edit Advanced Forms patch.

Q. Why have you allowed disabling and enabling ACF options and the hide content patch?

A. In the case where I stop supporting this plugin and they break ACF after an update, you can now toggle them off.

Q. How do I make the content only available on a certain tab?

A. Type “+the_content” without the quotations. This is a special custom function. You can now also use the select box to just select it.

Q. Custom Functions? What if I want to write my own?

A. Check out umt_add_custom_command() in api.php (root folder of the plugin)

Q. I want to write a custom metabox tab settings page. How?

A. Check out api.php and extensions/acf/acf_options_mod.php, If there is more demand for extensions, I’ll write more thorough documentation.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Ultimate Metabox Tabs〉的開發相關工作。

參與者

將〈Ultimate Metabox Tabs〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.9.9

  • Added Shopp support.
  • Added new filter to metabox_validate. (umt_filter_metabox_screen)
  • Fixed Options Page extension to work with ACF v4

0.9.8

  • Added is_admin() check to avoid loading Metabox Tabs if not in admin menu
  • Small UI changes made to accomdate for translated editions of Metabox Tabs.

0.9.7

  • Added a patching mechanism that edits the core WordPress files, allow for greater plugin compatibility. (qTranslate is supported with the patch enabled)
  • Changed the UI, its much neater and easier to look at now.

0.9.6

  • Fixed a bug with the ACF post list. (Wouldn’t show all posts)
  • Slight interface bug with moving DIV IDs

0.9.5

  • Added a select box extension, for easy configuration with ACF.
  • Added a new extension API command, so that custom metabox selections can be created.

0.9.4

  • Added extensions API, which will allow for custom settings pages.
  • Added a patch extension (toggeable) which allows ACF’s “Hide Content” option to work.
  • Allowed the toggling of the ACF Options Page metatabs, in case of users not wanting them there or future ACF update breaks.

0.9.3

  • Fixed a bug in the umt-post.js that caused saving to work oddly.

0.9.2

  • Fixed a bug in the javascript that stopped Firefox from working.

0.9.1

  • Fixed invalid script/style hooks in ACF Options Page.

0.9.0

  • Internal Beta release.