Title: Organic
Author: Tony Stanhope
Published: <strong>2023 年 3 月 13 日</strong>
Last modified: 2024 年 4 月 15 日

---

搜尋外掛

![](https://ps.w.org/organic/assets/banner-772x250.png?rev=2922508)

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

![](https://ps.w.org/organic/assets/icon.svg?rev=2922508)

# Organic

 由 [Tony Stanhope](https://profiles.wordpress.org/tonyorganic/) 開發

[下載](https://downloads.wordpress.org/plugin/organic.1.16.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/organic/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/organic/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/organic/#developers)

 [技術支援](https://wordpress.org/support/plugin/organic/)

## 外掛說明

In order to fully use this plugin, you will need to contact sales@organic.ly and
have your own account set up.

Features:
 * Integration with Organic Ads to insert ads onto your pages in a fully
controlled way with top tier monetization and reporting * Integration with Organic
Affiliate to insert affiliate links and product card onto your pages * Integration
with Organic Campaigns to match up sponsored content with direct sales campaigns

### Developer Notes

### Configuration

If you set the environment variable ORGANIC_ENVIRONMENT to an explicit value, you
can control what kind of debug
 data gets exposed. Valid values are:

 * PRODUCTION = normal operation in production
 * TEST = used in unit and integration testing

### Actions

 * `organic_ads_txt_changed` – called after the ads.txt content has changed from
   syncing with Organic Platform. No args.

### Filters

These filters allow integrators to use non-standard attributes on Post objects to
fulfill the needs
 of the Synchronization to Organic Platform.

 * `organic_post_id` – accepts default Post ID attribute, response registered as
   External ID in Organic
 * `organic_post_title` – accepts default $post->ID and $post->title, response registered
   as Title in Organic
 * `organic_post_url` – accepts default $post->ID and post Permalink (from get_permalink)
 * `organic_post_content` – transform the body of the post
 * `organic_post_publish_date` – transform the publish date of the post
 * `organic_post_modified_date` – transform the modified date of the post
 * `organic_post_authors` – accepts array with one author info based on $post->post_author
   data and $post->ID; expects an associative array with ‘externalId’, ‘name’, ’
   email’, and ‘imageUrl’ keys
 * `organic_post_featured_image_url` – transform the post thumbnail url for Organic
 * `organic_post_meta_description` – transform the post meta_description for Organic;
   uses the post excerpt or Yoast meta description by default
 * `organic_eligible_for_ads` – enable or disable ads injection, overlapping plugin
   settings
 * `organic_eligible_for_affiliate` – enable or disable affiliate injection, overlapping
   plugin settings

Example Filter Implementations:
 `php function get_custom_post_id($id) { $ext_id
= get_post_meta($id, 'custom_post_id', true); return $ext_id ?: $id; } add_filter('
organic_post_id', 'get_custom_post_id', 10, 1);

    ```
    `php
    ```

function get_custom_post_title($title, $id) {
 $title = ‘Our Brand | ‘ . $title;
return $title; } add_filter( ‘organic_post_title’, ‘get_custom_post_title’, 10, 
2); `

## 適用於區塊編輯器

這個外掛提供 2 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   Affiliate Product Card Affiliate Product Card Tool
 *   Affiliate Product Carousel Affiliate Product Carousel Tool

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Tony Stanhope ](https://profiles.wordpress.org/tonyorganic/)
 *   [ Justin DeMaris ](https://profiles.wordpress.org/jdemaris/)
 *   [ Ryan Dial ](https://profiles.wordpress.org/ryandial/)

[將〈Organic〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/organic)

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

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

## 變更記錄

#### 1.13.1

 * Fix clash with wp-sentry-integration

#### 1.13.0

 * Additional data requirements for Organic Analytics

#### 1.11.1

 * Add Admin SDK injection for “guides” post type

#### 1.11.0

 * Per-placement prefill adjustments

#### 1.9.0

 * Affiliate widget insertion fixes

#### 1.7.0

 * Fully migrate to the SDKv2

#### 1.6.0

 * Sync WP plugin data to platform

#### 1.5.0

 * Sentry integration

#### 1.4.0

 * Support for js-modules builds for up-to-date browsers
 * Site custom CSS support
 * A lot of fixes and optimizations

#### 1.0.67

 * Plugin refactoring to meet wordpress.org codestyle and rules

#### 1.0.15

 * Initial submission to wordpress.org with core functionality

## 中繼資料

 *  版本 **1.16.0**
 *  最後更新 **2 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/organic/)
 *  [進階檢視](https://tw.wordpress.org/plugins/organic/advanced/)

## 評分

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

[Your review](https://wordpress.org/support/plugin/organic/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/organic/reviews/)

## 參與者

 *   [ Tony Stanhope ](https://profiles.wordpress.org/tonyorganic/)
 *   [ Justin DeMaris ](https://profiles.wordpress.org/jdemaris/)
 *   [ Ryan Dial ](https://profiles.wordpress.org/ryandial/)

## 技術支援

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

 [檢視技術支援論壇](https://wordpress.org/support/plugin/organic/)