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

Dapre Custom Fields Tools

描述

This plugin is a ‘swiss army knife’ of custom fields. It allows you to manipulate them to make it easy the testing and debugging of applications.

This plugin was built in a moment of desperation when I couldn’t access phpMyAdmin in a mu website.
I absolutely needed to manipulate the custom fields for testing and debugging, version 1.0 was up in 4 hours.
In the following months I realized how useful the plugin was and couldn’t work anymore without it. It had become part of my standard toolset.

Features:
1 Read/write/delete options, user fields and post fields.
2 Populate the field with an empty array.
3 Insert a date string and translate it into a timestamp or vice versa to emulate specific dates.
4 Change name to a field.
5 Copy any field’s content to any other field (for example, option to user field) even of a different name.

You can contribute to the plugin or just study the code on the Github repo.

安裝

  1. Visit the plugins page within your dashboard and select ‘Add New’;
  2. Search for ‘Dapre Custom Fields Tools’;
  3. Activate the plugin from your Plugins page;

評價

閱讀全部1個評價

貢獻者及開發者

“Dapre Custom Fields Tools” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Dapre Custom Fields Tools 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

5.3.1

  • Fixed an error in casting a return value.

5.3.0

  • Refactored the UI of the meta fields tables to use REACT.

5.2.0

  • Meta fields rows can now be added and removed dynamically.
  • Bug fixing.

5.1.1

  • Fixed visualization bug in first row of meta fields.

5.1.0

  • Improved UI

5.0.0

  • Moved from AJAX to REST API.
  • Moved from JQuery to vanilla JavaScript.

4.6.1

  • Updated npm packages versions.
  • Built distributable file.

4.6.0

  • Refactored CSS to use grid and flexbox instead of tables.
  • Refactored CSS to use BEVM coding principles.
  • Refactored templates to comply with changes in CSS.

4.5.0

  • Added Gulp workflow.
  • Refactored code and created new plugin structure to meet the new workflow needs.
  • Refactored JavaScript and removed all inline events left.

4.4.0

  • refactored JavaScript to remove all inline events.
  • bugfix: plugin left the delete option enabled with non existing meta fields.

4.3.0

  • made all strings translatable and escaped output.

4.2.3

  • added filter input to avoid accessing $_POST directly.

4.2.2

  • Initialized variables containing CSS classes to remove warnings.

4.2.1

  • Renamed constant PLUGIN_PATH with PLUGIN_DIRPATH for better clarity.

4.2.0

  • Minor code refactoring. Abstracted some common methods.

4.1.1

  • Moved conditionals from templates to classes.

4.1.0

  • Added PHP version check. Minimum version required is PHP 7.x

4.0.0

  • Introduced classes for option fields, user fields and post fields
  • Refactored the previous options array. Now there are three arrays instead of one
  • It is now possible to also read/write base fields for user fields and post fields (fields that are in the wp_users table and wp_posts table)
  • Improved error handling where the user get an error after trying to write on a meta field
  • Added colorbox library

3.4.0

  • Refactored settings page to make html code cleaner and get ready for the next evolution

3.3

  • Added copy boxes to allow copy any field to any field even of a different type

3.2

  • Added rename option box

3.1

  • Moved the three boxes into tabs
  • Switch tabs through JS

3.0

  • converted plugin to AJAX

2.0

  • Added actions
  • Added checkbox to toggle date string/timestamp
  • Possible to add an empty array

1.0

  • First version, very basic.