前言介紹
- 這款 WordPress 外掛「WP CSV Exporter」是 2014-12-09 上架。 目前已經下架不再更新,不建議安裝使用。
- 目前有 10000 個安裝啟用數。
- 上一次更新是 2022-03-31,距離現在已有 1129 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 11 人給過評分。
- 論壇上目前有 1 個提問,問題解答率 0%
外掛協作開發者
kanakogi |
外掛標籤
csv | export | import | extract | custom post |
內容簡介
這個外掛程式可以按照每篇文章類型將文章匯出為 CSV 格式。
此外,它也支援文章的自訂欄位和自訂分類法。
您還可以設定要下載的文章數量或日期範圍。
如何自訂匯出的文章數據
此外掛有以下篩選器。
wp_csv_exporter_post_name - 文章名稱
wp_csv_exporter_post_title - 文章標題
wp_csv_exporter_post_content - 文章內容
wp_csv_exporter_post_excerpt - 文章摘要
wp_csv_exporter_post_status - 文章狀態
wp_csv_exporter_post_author - 文章作者
wp_csv_exporter_post_date - 文章日期
wp_csv_exporter_post_modified - 文章修改日期
wp_csv_exporter_thumbnail_url - 文章縮圖 URL
wp_csv_exporter_post_tags - 文章標籤
wp_csv_exporter_post_category - 文章類別
wp_csv_exporter_tax_{taxonomy} - 自訂分類法
wp_csv_exporter_{custom_field_key} - 自訂欄位
wp_csv_exporter_post_name
參數:
$post_name – (必要) 文章 URL
$post_id – (int) 文章 ID
例如:
add_filter( 'wp_csv_exporter_post_name', 'wp_csv_exporter_post_name_filter', 10, 3 );
function wp_csv_exporter_post_name_filter( $post_name, $post_id ) {
return $post_name;
}
wp_csv_exporter_post_title
參數:
$post_title – (必要) 文章標題
$post_id – (int) 文章 ID
例如:
add_filter( 'wp_csv_exporter_post_title', 'wp_csv_exporter_post_title_filter', 10, 3 );
function wp_csv_exporter_post_title_filter( $post_title, $post_id ) {
$post_title = $post_id . ':' . $post_title;
return $post_title;
}
wp_csv_exporter_post_content
參數:
$post_content – (必要) 文章內容
$post_id – (int) 文章 ID
wp_csv_exporter_post_excerpt
參數:
$post_excerpt – (必要) 文章摘要
$post_id – (int) 文章 ID
wp_csv_exporter_post_status
參數:
$post_status – (必要) 文章狀態
$post_id – (int) 文章 ID
wp_csv_exporter_post_author
參數:
$post_author – (必要) 文章作者
$post_id – (int) 文章 ID
wp_csv_exporter_post_date
參數:
$post_date – (必要) 文章日期
$post_id – (int) 文章 ID
wp_csv_exporter_post_modified
參數:
$post_modified – (必要) 文章修改日期
$post_id – (int) 文章 ID
wp_csv_exporter_post_thumbnail_url
參數:
$post_thumbnail_url – (必要) 文章縮圖 URL
$post_id – (int) 文章 ID
wp_csv_exporter_post_tags
參數:
$post_tags – (array)(必要) 文章標籤
$post_id – (int) 文章 ID
例如:
add_filter( 'wp_csv_exporter_post_tags', 'wp_csv_exporter_post_tags_filter', 10, 3 );
function wp_csv_exporter_post_tags_filter( $post_tags, $post_id ) {
$_post_tags = array();
foreach ( $post_tags as $tag ) {
$_post_tags[] = $tag->name;
}
return implode( ',', $_post_tags );
}
原文外掛簡介
You can export posts in CSV format for each post type.
It is compatible with posts’ custom fields and custom taxonomies.
It is also possible to set the number or date range of posts to download.
How to customize export post data
This plugin has below filters.
wp_csv_exporter_post_name
wp_csv_exporter_post_title
wp_csv_exporter_post_content
wp_csv_exporter_post_excerpt
wp_csv_exporter_post_status
wp_csv_exporter_post_author
wp_csv_exporter_post_date
wp_csv_exporter_post_modified
wp_csv_exporter_thumbnail_url
wp_csv_exporter_post_tags
wp_csv_exporter_post_category
wp_csv_exporter_tax_{taxonomy}
wp_csv_exporter_{custom_field_key}
wp_csv_exporter_post_name
Parameters:
$post_name – (required) post slug
$post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_post_name', 'wp_csv_exporter_post_name_filter', 10, 3 );
function wp_csv_exporter_post_name_filter( $post_name, $post_id ) {
return $post_name;
}
wp_csv_exporter_post_title
Parameters:
$post_title – (required) post title
$post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_post_title', 'wp_csv_exporter_post_title_filter', 10, 3 );
function wp_csv_exporter_post_title_filter( $post_title, $post_id ) {
$post_title = $post_id . ':' . $post_title;
return $post_title;
}
wp_csv_exporter_post_content
Parameters:
$post_content – (required) post content
$post_id – (int) post id
wp_csv_exporter_post_excerpt
Parameters:
$post_excerpt – (required) post excerpt
$post_id – (int) post id
wp_csv_exporter_post_status
Parameters:
$post_status – (required) post status
$post_id – (int) post id
wp_csv_exporter_post_author
Parameters:
$post_author – (required) post author
$post_id – (int) post id
wp_csv_exporter_post_date
Parameters:
$post_date – (required) post date
$post_id – (int) post id
wp_csv_exporter_post_modified
Parameters:
$post_modified – (required) post modified date
$post_id – (int) post id
wp_csv_exporter_post_thumbnail_url
Parameters:
$post_thumbnail_url – (required) post thumbnail_url
$post_id – (int) post id
wp_csv_exporter_post_tags
Parameters:
$post_tags – (array)(required) post tags
$post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_post_tags', 'wp_csv_exporter_post_tags_filter', 10, 3 );
function wp_csv_exporter_post_tags_filter( $post_tags, $post_id ) {
$_post_tags = array();
foreach ( $post_tags as $key => $tag ) {
$_post_tags[] = 'Tag:'.$tag;
}
return $_post_tags;
}
wp_csv_exporter_category
Parameters:
$category – (array)(required) post category
$post_id – (int) post id
Example:
add_filter( 'wp_csv_exporter_category', 'wp_csv_exporter_category_filter', 10, 3 );
function wp_csv_exporter_post_category_filter( $category, $post_id ) {
$_category = array();
foreach ( $category as $key => $value ) {
$_category[] = 'Category:'.$value;
}
return $_category;
}
wp_csv_exporter_tax_{taxonomy}
Parameters:
$term_values – (array)(required) post taxonomy
$post_id – (int) post id
Example: taxonomy = “dogs”
add_filter( 'wp_csv_exporter_tax_dogs', 'wp_csv_exporter_tax_dogs_filter', 10, 3 );
function wp_csv_exporter_tax_dogs_filter( $term_values, $post_id ) {
$_term_values = array();
foreach ( $term_values as $key => $term_value ) {
$_term_values[] = 'Dog:'.$term_value;
}
return $_term_values;
}
wp_csv_exporter_{custom_field_key}
Parameters:
$field – (required) post custom field
$post_id – (int) post id
Example: custom field key = “price”
add_filter( 'wp_csv_exporter_price', 'wp_csv_exporter_price_filter', 10, 3 );
function wp_csv_exporter_price_filter( $field, $post_id ) {
return 'Price:'.$field;
}
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP CSV Exporter」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.0 | 1.0.1 | 1.0.2 | 1.0.3 | 1.0.5 | 1.0.6 | 1.0.7 | 1.0.8 | 1.0.9 | 1.1.0 | 1.1.1 | 1.1.3 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.4 | 1.3.5 | 1.3.6 | trunk |
延伸相關外掛(你可能也想知道)
Content Blocks (Custom Post Widget) 》Content Blocks 外掛可以透過捷徑在 widget 或內容區域中顯示特定自訂文章的內容。, 雖然您可以使用 WordPress 預設的文字 widget 來顯示內容,但使用本外掛...。
Advanced Post Manager 》這是一個針對開發者所設計的工具,可以透過添加 metadata、taxonomy 等資訊來協助加強自訂文章類型的列表功能。此外,也提供直觀的介面讓您可以添加及儲存複...。
Magical Posts Display – Elementor Advanced Posts widgets 》這個外掛可以輕鬆地生成文章輪播、文章旋轉木馬、文章表格、文章手風琴、文章選項卡、文章跑馬燈和文章類別和標籤篩選。此外掛能幫助您以多種形式展示您的內...。
CSV Import and Exporter 》WordPress外掛可以將帖子以CSV格式導出,並與自訂欄位和自訂分類相容。此外,還可以設定要下載的帖子數量或日期範圍。此外,還提供了一些篩選器,使您可以自...。
Display Custom Post 》這個外掛允許您在幾秒內在頁面上顯示您的部落格文章或自訂文章。您需要從下拉式清單中選擇文章類型,以及其他幾個設定(可選),然後它會為您提供類似 [dcp_s...。
Superior FAQ 》這個外掛可以建立常見問答集,並透過簡碼在任何頁面、文章和小工具區域列出它們。, 此外掛附帶實用的簡碼建立器,可協助您輕鬆設定不同的屬性。, 演示, 功能,...。
Ninja Footers 》Ninja Footers 是一個內部連結工具,讓您為所有 WordPress 文章添加自定義和可點擊的頁尾。, 文章頁尾應該是任何 WordPress 博客設計的重要組成部分。透過添...。
Export All Post Meta 》這個外掛可讓你輕鬆地從後台或前台,透過一個點擊,將文章匯出為 CSV 檔案。該外掛能支援自訂文章類型、自訂分類和自訂欄位。你可以透過「工具」>>「匯出文章...。
Post Auto Vertical Scrolling 》使用此外掛,您可以在任何文章或自訂文章類別中觀看自動垂直向上滾動,就像新聞標題一樣。完全掌控您的 WordPress 網站,建立任何您可以想像的短代碼 - 無需...。
Live Search and Custom Fields LITE – Advanced Filter 》這是一個進階的 WordPress 濾鏡外掛,可以幫助您在網站上創建令人驚艷的篩選器。搜尋和篩選 WordPress 帖子、自訂帖子、WooCommerce 產品、稅類和 LSCF 自訂...。
Delete Duplicate Data 》透過單一點擊即可刪除重複的文章、頁面、附件和自訂文章。, 您可以刪除以下重複資料。, , 文章, 頁面, 自訂文章, 附件, 類別, 分類法, 自訂類別, , 您可以永...。
Custom Bulk Actions 》目前 WordPress 還不支援自訂的批次操作功能。詳情請參考 codex。使用此外掛可以輕鬆新增批次操作。, 此外掛的解決方案來自於這裡:http://www.skyverge.com/...。
Simple Long Form 》Simple Long Form 可以幫助你建立易於操作的一頁式滾動網頁,而無需任何編程知識。簡單易用但同時也提供可自定義的 Bootstrap 元件,Bootstrap.js 亦提供模板...。
WP Reading List 》WP Reading List(或簡稱 WPRL)是一個外掛,旨在幫助組織和展示您最近閱讀的書籍、雜誌、文章或其他任何內容。此外掛允許使用者顯示他們已經閱讀、附加文字...。
Simplicy post view 》簡易文章檢視, 是一個小工具,可在側邊欄中顯示一個或多個項目,提供以下幾個選項:, - 選擇項目或類別, - 顯示項目數量(如果選取了類別), - 顯示標題及自...。