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

Custom Field Bulk Editor

外掛說明

This plugin lets you edit the custom fields for many posts at once. Designed to work with pages, posts, and all custom post types. The plugin also has some actions included so that plugins and themes can integrate seamlessly and build their own extensions into the functionality.

螢幕擷圖

  • Bulk Editor Screen
  • Settings Screen
  • View With Sample Customization

安裝方式

Copy the folder to your WordPress
/wp-content/plugins/‘ folder.

By default the plugin will be enabled for all post types but you can go to the settings page and turn it off for any post types where it is not needed.

常見問題集

I have a lot of posts, how can I edit them all?

This plugin will run into memory problems and not submit properly if there are too many posts on a page. Currently the page limit is set at 200. To show more or less on a page, just add “posts_per_page=10” to the querystring to display only 10 posts. Use the querystring page_number=X to display a certain page.

How can I remove (delete) custom fields from a record?

Just enter the name and leave the value blank.

Can I disable this plugin from showing up on some post types?

Yup, just go to the settings page and you can turn post types on and off.

Can I enter multiple values per custom field name?

Yes. Just check the “Add New Custom Fields Instead of Updating” checkbox when saving.

Can I search by date?

Yes. Search for a date range by entering a search query with “..” between the dates. So if you wanted to search for all dates between 2014-01-01 and 2014-02-01 you would search for “2014-01-01..2014-02-01”. Or search for “2014-01-01..” to search for all orders between 2014-01-01 and the current date. Or search from the beginning of time until 2010-01-01 by searching “..2010-01-01”.

How do the plugin hooks/customizations work?

You can add your own metabox to enter special data or you can just add some rows before the built-in custom field rows. Then add a special “saving” function which is run automatically on each post being changed.

Sample Code For Adding Your Own Extra Save Lines (see screenshots for how this looks)

To see a complete integration example, download the FoxyShop plugin and look in the bulkeditor.php file.

What is the difference between single value and multi value mode?

Single Value Mode lets you set a single value for all checked postes. Multi Value Mode lets you set a different custom field and value for each post at once. Action hooks are not run in Multi Value mode.

Can I change the name of some custom fields?

Yes. Click the link “Want to change a custom field name?” at the bottom of the Single Value Mode form and you’ll be able to enter the original field name and the new field name.

使用者評論

2021 年 1 月 8 日
Even though this plugin hasn't been updated since 2014 - it works 100% perfectly and saved me a lot of time! It's a real lifesaver and there's nothing else like it.
2020 年 11 月 19 日
Hi, Thank you so much for this plugin that saved me so much time. I hope you'll found the time to update it. I would like to translate it in French, but it's not ready for translation as you can see on this page => https://translate.wordpress.org/locale/fr/default/wp-plugins/custom-field-bulk-editor/ Regards,
2020 年 9 月 24 日
I had to edit multiple fields for seo title and description (with variables), around 500 posts, it was done in 2 min. Thank you for creating this plugin
2020 年 4 月 18 日
A real time saver. Thank you for creating it and please continue to develop maintain it.
2019 年 5 月 17 日
I don't normally review but this actually saved me hours updating 1000's of products manually, i used advanced custom fields + this and added the value through category
2019 年 2 月 18 日
My friend wants to update his 3000+ products with the custom field value and I suggest this plugin to him and it works well to update values in all the products. thanks a lot and it saved our lots of time.
閱讀全部 38 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Field Bulk Editor〉的開發相關工作。

參與者

將 Custom Field Bulk Editor 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.9.1 (8/11/2014)

  • Fixing paging feature
  • Adding overrides for Advanced Custom Fields v5
  • Cleaning up the update custom field name feature
  • Changing mysql_real_escape_string() to esc_sql()

1.9 (7/25/2014)

  • Adding ajax fetch for multi-value entry. Gets current value.

1.8 (2/21/2014)

  • Adding ability to search posts by date
  • Limiting default posts per page to 200

1.7.1 (1/5/2014)

  • Fix for incompatibility with the (fabulous) Advanced Custom Fields plugin

1.7 (11/12/2012)

  • Added a feature to allow setting multiple fields/records per custom field name

1.6 (8/21/2012)

  • Added a feature to allow the changing of field names

1.5 (7/23/2012)

  • Added a bulk editor for multi-value mode so that names and values can be pasted into a textarea
  • FIX: Removed testing mode from single value mode

1.4.1 (7/12/2012)

  • Fixed mistaken multi-value mode link for posts

1.4 (7/12/2012)

  • Added multi-value mode
  • Added filter to allow customized role display

1.3.2 (3/2/2012)

  • Changed menu name from “Edit Custom Fields” to “Bulk Edit Fields” for better recognition
  • Corrected double serialization

1.3.1 (11/12/2011)

  • Fixed problem where post categories and tags weren’t being filtered correctly

1.3 (10/13/2011)

  • Fixed redirect error when saving custom fields for posts
  • Tested for WordPress 3.3

1.2 (8/28/2011)

  • Added Hooks so Themes and Plugin Developers Can Build Their Own Custom Integrations

1.1 (8/17/2011)

  • Added Post Searching and Filtering by Applicable Taxonomies

1.0 (8/17/2011)

  • Initial Release