[WordPress] 外掛分享: Octavius Rocks

首頁外掛目錄 › Octavius Rocks
WordPress 外掛 Octavius Rocks 的封面圖片
10+
安裝啟用
尚無評分
1057 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v3.9.3 上架:2015-04-29

內容簡介

Octavius 服務旨在即時追蹤和分析您的引文和連結的點擊率。它經過優化,可與我們的 Grid 外掛 協同運作。

文檔

要獲取 Octavius 屬性,您可以使用以下兩個選項:

do_action( ‘render_octavius_teaser_attributes’, ‘VIEWMODE’ );
apply_filters( ‘get_octavius_teaser_attributes’, ‘VIEWMODE’ );

這將自動生成頁面類型、內容 ID 和內容類型。如果需要,您可以覆蓋 viewmode。

使用這些選項,您可以更靈活地使用屬性並自行設置值。請傳遞一個帶有以下一個或多個屬性的陣列:
viewmode、content_type、pagetype、content_id、region

add_action( ‘render_octavius_attributes’, array( ‘region’ => ‘head’, … ) );
add_filter( ‘get_octavius_attributes’, array( ‘region’ => ‘head’, … ) );

任意部分

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.9.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Octavius Rocks」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The octavius service is made for live tracking and analysing how well your teasers and links are klicked. It’s optimized to work with our Grid plugin.
Documentation
To get your octavius attributes you can use this two options:
do_action( ‘render_octavius_teaser_attributes’, ‘VIEWMODE’ );
apply_filters( ‘get_octavius_teaser_attributes’, ‘VIEWMODE’ );
This will get the pagetype, content_id and content_type will be generated automatically. If you like, you can overwrite the viewmode.
With this options, you can use the attributes more flexible and set the values on your own. Please pass an array with one or more of the following properties:
viewmode, content_type, pagetype, content_id, region
add_action( ‘render_octavius_attributes’, array( ‘region’ => ‘head’, … ) );
add_filter( ‘get_octavius_attributes’, array( ‘region’ => ‘head’, … ) );
Arbitrary section

延伸相關外掛

文章
Filter
Mastodon