
內容簡介
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’, … ) );
任意部分
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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
