
內容簡介
安装完 外掛 (plugin) 之後,在 WordPress 的頁面編輯器中將會出現該 外掛 (plugin) 的按鈕編輯器。使用它將您的 Outdooractive 內容添加到您的網站中。
對於程式設計師: 该 外掛(plugin) 使用「shortcode oaembed」。 必須的唯一參數是「url」,其他所有參數都是可選擇的。
例如:
在編輯器的「文字模式」下貼上 [oaembed url = "http://www.outdooractive.com/en/serviced-hut/graubuenden/tschiervahuette/15280962/"] 並點擊預覽。 您的嵌入式內容將顯示出來。
支持以下選項:
最大寬度
為整合您的內容指定最大像素寬度。 最大寬度不得小於260像素。
例: [oaembed url =“http://www.outdooractive.com/en/serviced-hut/graubuenden/tschiervahuette/15280962 /”maxwidth =“ 400”]
在側邊欄、頁腳等中包含內容。
您可以使用 WordPress widget 在側邊欄和頁腳中嵌入您的內容。 有關 WordPress widget 的更多信息,請訪問:https://codex.wordpress.org/WordPress_Widgets
提示:使用 Pro+ 进行白标式嵌入
使用 Pro+,您有更好的機會在您的網站中集成旅遊和有趣的地點。 [了解有关 Pro+ 的更多信息] (https://www.outdooractive.com/en/pro-business.html)
要使用 Pro+ 嵌入,請遵循 外掛(plugin) 設置頁面(設置→ Outdooractive 嵌入)上的說明。
在 新的 Gutenberg 編輯器中,您可以在「嵌入(embed)」類別下找到「Outdooractive Embed」區塊。它具有與上述相同的選項。此外,它還將在編輯器中顯示實時預覽。
請注意:
只有已發布的内容才能夠被嵌入(embed)。
外掛標籤
開發者團隊
原文外掛簡介
After installing the plugin, the button editor for the plugin will appear in the page editor of WordPress. Use it to add your Outdooractive content to your website.
For programmers: The plugin uses the shortcode oaembed. The only required parameter is url, all others are optional.
For example:
paste [oaembed url = "http://www.outdooractive.com/en/serviced-hut/graubuenden/tschiervahuette/15280962/"] into “text mode” of the editor and click Preview. Your embedded content will appear.
The following options are supported:
Maximum width
Specify a maximum pixel width for incorporating your content. The maximum width must not be less than 260 pixels.
Example: [oaembed url = "http://www.outdooractive.com/en/serviced-hut/graubuenden/tschiervahuette/15280962/" maxwidth = "400"]
Include content in the sidebar, footer, etc.
You can embed your content in sidebars and footers using WordPress widgets. For more information on WordPress widgets, visit: https://codex.wordpress.org/WordPress_Widgets
Tip: white label embedding with Pro+
With Pro+ you have even better opportunities to integrate tours and interesting points on your website. [Learn more about Pro+] (https://www.outdooractive.com/en/pro-business.html)
To use Pro+ Embedding, follow the instructions on the settings page of the plugin (Settings → Outdooractive Embed).
In the new Gutenberg Editor you can find a “Outdooractive Embed” block under the category “Embed”. It has the same options as mentioned above. Additionally it will show you a live preview in the editor.
Please note:
Only published Contents can be embeded
