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

AJAX Post Meta

描述

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

螢幕截圖

  • Clicking a value or blank area brings up an edit field.

安裝

  1. Upload the folder ajax-post-meta into the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. 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');

評價

There are no reviews for this plugin.

貢獻者及開發者

“AJAX Post Meta” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 AJAX Post Meta 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.1

  • Add additional filter used on custom content type edit screen. Props @pt1985 http://go.brain.st/RHiiTh

1.0

  • Initial Release