Title: Content Bridge for Commerce
Author: Tomohiro Shiotani
Published: <strong>2026 年 1 月 21 日</strong>
Last modified: 2026 年 1 月 21 日

---

搜尋外掛

![](https://ps.w.org/content-bridge-for-commerce/assets/banner-772x250.png?rev=3443975)

![](https://ps.w.org/content-bridge-for-commerce/assets/icon-256x256.png?rev=3443975)

# Content Bridge for Commerce

 由 [Tomohiro Shiotani](https://profiles.wordpress.org/vowdesign05/) 開發

[下載](https://downloads.wordpress.org/plugin/content-bridge-for-commerce.1.0.2.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/content-bridge-for-commerce/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/content-bridge-for-commerce/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/content-bridge-for-commerce/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/content-bridge-for-commerce/#developers)

 [技術支援](https://wordpress.org/support/plugin/content-bridge-for-commerce/)

## 外掛說明

Content Bridge for Commerce provides a lightweight REST API endpoint that allows
external commerce platforms such as Shopify to fetch WordPress editorial content.

This plugin does not sync databases or duplicate content. It simply exposes your
WordPress posts through a clean, structured JSON API designed for external consumption.

### Key Features

 * Fetch latest WordPress posts via REST API
 * Filter posts by category or tag (using slug)
 * Return featured image, excerpt, and publish date
 * Optional conversion of Jetpack (i0.wp.com) CDN image URLs back to original URLs
 * Configurable default post count and limits
 * Built-in transient cache (5 minutes) to reduce database load
 * No data duplication or migration required

### REST API Endpoint

Base endpoint:

    ```
    /wp-json/content-bridge/v1/posts
    ```

Examples:

Latest posts:
 /wp-json/content-bridge/v1/posts?per_page=4

Posts filtered by tag:
 /wp-json/content-bridge/v1/posts?tax=post_tag&term=guidi&
per_page=4

Posts filtered by category:
 /wp-json/content-bridge/v1/posts?tax=category&term=
news&per_page=4

If no taxonomy is specified, the API returns the latest posts from all published
posts.

#### Authentication

This plugin protects its REST API using a simple API key mechanism.

Requests must include a valid API key via the following HTTP header:

X-Content-Bridge-Key: YOUR_API_KEY

If the API key is missing or invalid, the endpoint will return a 401 Unauthorized
response.

The API key can be configured in the plugin settings screen.

The API key can be manually set or generated from the plugin settings screen.

### Settings

Settings  Content Bridge for Commerce

 * Default number of posts
 * Maximum allowed posts per request
 * Image size (thumbnail / medium / large / full)
 * Excerpt length (word count)
 * Enable or disable Jetpack CDN URL unwrapping

### Privacy

Content Bridge for Commerce does not collect, store, or transmit any personal data.

The plugin only exposes publicly available WordPress post data (such as title, excerpt,
featured image, and permalink) via a REST API endpoint.

No data is sent to external servers by this plugin.

## 螢幕擷圖

 * [[
 * Plugin settings page (Japanese UI), including REST API endpoint and usage examples

## 安裝方式

 1. Upload the `content-bridge-for-commerce` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the “Plugins” menu in WordPress
 3. Go to Settings  Content Bridge for Commerce to configure defaults
 4. Use the REST API endpoint from your external platform

## 常見問題集

### Does this plugin sync data to Shopify?

No. This plugin does not sync or copy data. It only exposes WordPress content via
REST API.

### Can I use this without Shopify?

Yes. Any external frontend that can fetch JSON data can use this API.

### Does it support custom post types or custom taxonomies?

Currently, the plugin supports standard posts filtered by category or tag.
 Support
for custom taxonomies and post types may be added in future versions.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Content Bridge for Commerce〉的開發相關工作。

參與者

 *   [ Tomohiro Shiotani ](https://profiles.wordpress.org/vowdesign05/)

[將〈Content Bridge for Commerce〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/content-bridge-for-commerce)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/content-bridge-for-commerce/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/content-bridge-for-commerce/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/content-bridge-for-commerce/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/content-bridge-for-commerce/)。

## 變更記錄

#### 1.0.2

 * Fixed an issue where translations were not loaded correctly.
 * Ensured plugin textdomain is properly initialized on plugins_loaded.

#### 1.0.1

 * Added Plugin URI linking to the WordPress.org plugin page.
 * Added Author URI to link the plugin author name to the official website.

#### 1.0.0

 * Initial public release.

#### 0.2.1

 * Review fixes (prefixes + proper script enqueue + directory assets removed)

#### 0.2.0

 * Fix Text Domain mismatch (plugin slug aligned)
 * Replace direct SQL transient cleanup with tracked-key deletion (Plugin Check 
   friendly)
 * Fix uninstall cleanup keys
 * Admin i18n improvements

#### 0.1.2

 * Add transient cache (5 minutes) for REST responses
 * Add uninstall routine and privacy notes
 * i18n improvements for admin UI

## 中繼資料

 *  版本 **1.0.2**
 *  最後更新 **4 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/content-bridge-for-commerce/)
 * 標籤:
 * [api](https://tw.wordpress.org/plugins/tags/api/)[commerce](https://tw.wordpress.org/plugins/tags/commerce/)
   [content](https://tw.wordpress.org/plugins/tags/content/)[headless](https://tw.wordpress.org/plugins/tags/headless/)
   [integration](https://tw.wordpress.org/plugins/tags/integration/)
 *  [進階檢視](https://tw.wordpress.org/plugins/content-bridge-for-commerce/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/content-bridge-for-commerce/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/content-bridge-for-commerce/reviews/)

## 參與者

 *   [ Tomohiro Shiotani ](https://profiles.wordpress.org/vowdesign05/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/content-bridge-for-commerce/)