Description
Allow any plain-text custom field to be edited via AJAX on the All Posts page. We use it at Brainstorm Media for quickly editing SEO titles, descriptions, and keywords. However, filters are provided for targeting any plain-text custom field.
AJAX Post Meta will auto-detect and add columns for:
Plugins
- All in One SEO Pack
- Greg’s High Performance SEO
- Headspace2
- Meta SEO Pack
- Platinum SEO
- SEO Ultimate
- WordPress SEO
Themes
- Builder
- Headway
- Hybrid
- Thesis
Installation
- Upload the folder
ajax-post-meta
into the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- If your plugin or theme is supported, edit columns will be automatically added to your All Posts page.
Advanced: You may add support for other custom fields and post types using the following filters in your theme’s functions.php
file:
function my_ajax_meta_post_types( $post_types ) {
// Add list of post types to any previously enabled.
// To complete override, just return an array
return wp_parse_args( array(
'post',
'page',
), $post_types );
}
add_filter('ajax_meta_post_types', 'my_ajax_meta_post_types');
function my_ajax_meta_keys($keys) {
// Array of meta keys to enable editing for
return wp_parse_args( array(
// Example AIOSEO meta keys
'_aioseop_title' => __('Title Override'),
'_aioseop_description' => __('Description'),
'_aioseop_keywords' => __('Keywords'),
'_aioseop_titleatr' => __('Title Attribute'),
'_aioseop_menulabel' => __('Menu Label'),
// General syntax
// 'meta_key' => __('Column Title'),
), $keys );
}
add_filter('ajax_meta_keys', 'my_ajax_meta_keys');
Reviews
There are no reviews for this plugin.
Contributors & Developers
“AJAX Post Meta” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “AJAX Post Meta” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Add additional filter used on custom content type edit screen. Props @pt1985 http://go.brain.st/RHiiTh
1.0
- Initial Release