
前言介紹
- 這款 WordPress 外掛「CSV Import and Exporter」是 2023-05-31 上架。
- 目前有 900 個安裝啟用數。
- 上一次更新是 2025-06-26,距離現在已有 246 天。
- 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
kanakogi |
外掛標籤
csv | export | import | extract | custom post |
內容簡介
WordPress外掛可以將帖子以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
- wp_csv_exporter_post_tags
- wp_csv_exporter_post_category
- wp_csv_exporter_tax_{taxonomy}
- wp_csv_exporter_{custom_field_key}
問題:
1. 使用WordPress外掛可將帖子以什麼格式導出?
2. 該外掛是否與自訂欄位和自訂分類相容?
3. 我們是否可設定要下載的帖子數量或日期範圍?
4. 此外還提供了什麼功能?
5. 該外掛具備哪些篩選器?
6. 如何設置wp_csv_exporter_post_name篩選器?
7. 如何變更wp_csv_exporter_post_title值?
8. 如何設置wp_csv_exporter_post_tags篩選器?
9. 如何變更自訂欄位值?
10. 篩選器wp_csv_exporter_category是做什麼用的?
原文外掛簡介
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 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「CSV Import and Exporter」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
افزونه رسمی ترب 》This plugin is developed to retrieve all products from WordPress stores that use the WooCommerce plugin., The aim of this plugin is...。
WP CSV Exporter 》這個外掛程式可以按照每篇文章類型將文章匯出為 CSV 格式。, 此外,它也支援文章的自訂欄位和自訂分類法。, 您還可以設定要下載的文章數量或日期範圍。, 如何...。
Emalls Extraction API – Official 》این پلاگین یک API اختصاصی برای استخراج محصولات ووکامرس ایجاد میکند و توسط وبسرویس ایمالز برای دریافت اطلاعات محصولات استفاده میشود., هدف این پ...。Evermore 》Evermore自動縮寫所有文章,當它們出現在多文章頁面上,例如主要部落格頁面。這與在每篇文章的第一段落後放置 <!–more–> 產生相同效果。所...。
Media from ZIP 》如何註冊, , 透過上傳註冊。, 在伺服器上註冊。, , 註冊至媒體庫, , 維護資料夾結構。, 建立圖片檔案縮圖。, 建立元數據(圖片、影片、音訊)。, 更改日期/時...。
WP Excerpt Generator 》英文版:, WP Excerpt Generator 可以在英文和法文上運作。, WP Excerpt Generator 可輕鬆生成節錄,填補任何不足,或僅僅為了節省時間。插件會直接在網站的...。
استخراج محصولات و دسته بندی های ووکامرس برای مظنه – رسمی 》این پلاگین جهت دریافت تمامی محصولات و دسته بندی های فروشگاه های وردپرسی که از پلاگین ووکامرس استفاده می کنند، توسعه یافته است., هدف این پلاگین دس...。
استخراج محصولات ووکامرس برای آیسی 》این پلاگین جهت دریافت محصولات فروشگاه های وردپرسی که از پلاگین ووکامرس استفاده می کنند، از طریق دسترسی به یک وب سرویس برای دریافت تمامی محصولات و ب...。Upunzipper 》此外掛可讓您從壓縮檔中提取並添加檔案到媒體庫。, 您只需上傳或選擇已上傳的壓縮檔,此外掛即會解壓縮所有檔案並將它們新增至媒體庫中。。
ارسال اطلاعات فروش ووکامرس برای سکان 》Scan, a platform for customer data analysis. , Scan is the first platform for data-driven marketing and customer data analysis. , &...。
Markight woocommerce connector 》這個外掛是設計用來自動傳送銷售數據到 Markight 資料分析平台。, Markight 是 Dataigest 公司提供的一個解決方案。我們於 2021 年開始工作,旨在提供一個針...。
لیست محصولات ووکامرس برای مارکت مپ 》此外掛設計用於在MarketMap中獲取WooCommerce產品列表並快速更新價格。, marketmap.org, 需求, , WordPress版本5.2.0或更高版本, WooCommerce版本4.0.0或更高...。
