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.
Copy the folder to your WordPress
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
- 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.
Contributors & Developers
“Custom Field Bulk Editor” is open source software. The following people have contributed to this plugin.Мүчөлөрү
Interested in development?
- 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()
- Adding ajax fetch for multi-value entry. Gets current value.
- Adding ability to search posts by date
- Limiting default posts per page to 200
- Fix for incompatibility with the (fabulous) Advanced Custom Fields plugin
- Added a feature to allow setting multiple fields/records per custom field name
- Added a feature to allow the changing of field names
- 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
- Fixed mistaken multi-value mode link for posts
- Added multi-value mode
- Added filter to allow customized role display
- Changed menu name from “Edit Custom Fields” to “Bulk Edit Fields” for better recognition
- Corrected double serialization
- Fixed problem where post categories and tags weren’t being filtered correctly
- Fixed redirect error when saving custom fields for posts
- Tested for WordPress 3.3
- Added Hooks so Themes and Plugin Developers Can Build Their Own Custom Integrations
- Added Post Searching and Filtering by Applicable Taxonomies
- Initial Release