[WordPress] 外掛分享: Matterport Shortcode

首頁外掛目錄 › Matterport Shortcode
WordPress 外掛 Matterport Shortcode 的封面圖片
3,000+
安裝啟用
★★★★★
5/5 分(9 則評價)
650 天前
最後更新
問題解決
WordPress 4.0.0+ PHP 7.0+ v2.2.2 上架:2016-01-21

內容簡介

這個外掛可輕鬆地嵌入 Matterport 建築空間,並提供預覽圖像和彈出視窗。它能輕鬆地包含地址資訊和從你的 Matterport 導覽所取得的掃描數量。優化了資訊快取,使得作品集頁面載入速度更快!管理員頁面方便快速地刷新快取資訊以及方便地存取你在 MyMatterport.com 上的模型。

v2.0 新增了 MPEmbed.com 的增強功能,包括小地圖、影像增強過濾器和深度整合 Google Analytics!

範例

單一導覽:

[matterport src="uKDy9xrMRCi" width="900"]

導覽畫廊:

[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF"]

嵌入不含彈出視窗:

[matterport embed="true" src="uKDy9xrMRCi" width="900"]

嵌入含標籤:

[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" showdate="true" address="1" showstats="1"]

嵌入含參數:

[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" qs="1" hhl="1" title="2"]

嵌入含 MPEmbed 參數:

[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" qs="1" minimap="1" filter="oversaturate"]

必填

src(必填)

uKDy9xrMRCi - (單一 ID 的導覽)
uKDy9xrMRCi,uKDy9xrMRCi,uKDy9xrMRCi - (由逗號分隔的多個 ID 的導覽)
https://my.matterport.com/show/?m=uKDy9xrMRCi - 完整 URL(不必要,但支援)
https://mpembed.com/show/?m=uKDy9xrMRCi - 完整 MPEmbed URL(如果您正在使用 Mattertags 設置選項或 MPEmbed Premium)

顯示

cols

1(預設)- 以單行顯示導覽
2、3、4 - 以多行顯示導覽

embed

false(預設)- 點擊時在燈箱彈出視窗中顯示導覽
true - 點擊時以導覽替換縮略圖

height

540(預設)- 縮略圖在 540 高度加載並顯示響應式
360(cols=2 或更大時的預設值)
###- 設置其他高度,且**無需**設置寬度。

width

960(預設)- 縮略圖在 960 寬度加載並響應式顯示
640(cols=2 或更大時的預設值)
###- 設置其他寬度

window

NULL(預設值)- 在覆蓋中打開導覽
_blank - 在新的標籤/視窗中打開導覽
customname - 按 ID 在嵌入的 iframe 中打開導覽

客製化

address

NULL(預設)- 不顯示地址
1 - 在縮略圖下方顯示資訊:街道、城市、州/省、郵遞區號

label

NULL(預設)- 從性導覽源使用標題
“My Tour” - 以 shortcode 定義的標題顯示導覽
“My Tour;My Second Tour;My Third Tour” - 用分號隔開的多個標題來顯示多個導覽
“hidden” - 不顯示導覽標題或其他資訊

showdate

NULL(預設)- 不顯示日期
true - 在標題中顯示上傳到 my.matterport.com 的日期
modified - 在標題中顯示最後修改的日期

showstats

NULL(預設)- 不顯示掃描數量
1 - 顯示導覽掃描數量

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.2) 或搜尋安裝

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

原文外掛簡介

Easily embed Matterport Spaces with preview image and a pop-up. Easily include address information and # of scans sourced directly from your Matterport tours. Optimized with information caching to make a portfolio page load fast! Includes a great admin page for refreshing cached information and quick access to your models @ MyMatterport.com.
New in v2.0 – MPEmbed.com enhancements including Minimaps, Image Enhancement Filters and deep integration of Google Analytics!
Examples
Single Tour:
[matterport src="uKDy9xrMRCi" width="900"]

Tour Gallery:
[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF"]

Embed without Pop-Up:
[matterport embed="true" src="uKDy9xrMRCi" width="900"]

Embed with Labels:
[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" showdate="true" address="1" showstats="1"]

Embed with Parameters:
[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" qs="1" hhl="1" title="2"]

Embed with MPEmbed Parameters:
[matterport cols="3" src="uKDy9xrMRCi,wV4vX743ATF" qs="1" minimap="1" filter="oversaturate"]

Required
src (required)

uKDy9xrMRCi – (Single Tour by ID)
uKDy9xrMRCi,uKDy9xrMRCi,uKDy9xrMRCi – (Multiple tours by ID separated by commas)
https://my.matterport.com/show/?m=uKDy9xrMRCi – Full URL (unnecessary, but supported)
https://mpembed.com/show/?m=uKDy9xrMRCi – Full MPEmbed URL (if you’re using Mattertags to set options or MPEmbed Premium)

Display
cols

1 (default) – Show tour(s) in single column
2, 3, 4 – Show tour(s) in multiple columns

embed

false (default) – Display tour in lightbox popup on click
true – Replace thumbnail with tour on click

height

540 (default) – Thumbnails load at 540 height and display responsively
360 (default for cols=2 or greater)
### – Set alternate height — IT IS NOT NECESSARY TO SET BOTH WIDTH AND HEIGHT.

width

960 (default) – Thumbnails load at 960 width and display responsively
640 (default for cols=2 or greater)
### – Set alternate width

window

NULL (default) – Open tours in an overlay
_blank – Open tours in a blank tab/window
customname – Open tours in an embedded iframe by id

Customize
address

NULL (default) – Do not show address
1 – Show caption beneath thumbnail with Street, City, State ZIP

label

NULL (default) – Source titles from Tour
“My Tour” – Use shortcode defined title on tour
“My Tour;My Second Tour;My Third Tour” – Use multiple titles separated by semicolons for multiple tours
“hidden” – Do not show titles or any information below tour.

showdate

NULL (default) – Do not show date.
true – Show date of upload to my.matterport.com in caption
modified – Show last modified date in caption

showstats

NULL (default) – Do not show # of Scans
1 – Show # of Scans after address in caption

welcome

Explore 3D Space – Replace ‘Explore 3D Space’ message with custom message.

Matterport Showcase Configuration Parameters
All parameters are fully supported as of 02/01/19.
Matterport URL Parameters Reference
With MPEmbed, you also can set &lang=it for the UI in Italian.
MPEmbed Premium Parameters
mpembed

1 – Force MPEmbed. This is only useful if you are using MPEmbed Premium or MPEmbed Hidden Settings Mattertags and are not using other parameters. Otherwise, using any of the MPEmbed parameters will automatically set this space to use MPEmbed.

mpu

Premium User ID – Loads an MPEmbed Premium Space via your User ID

mpv

Premium Space Version – Loads an MPEmbed Premium Space with Version #

MPEmbed (Free) Parameters
MPEmbed.com is a service created by the author of this plugin! It uses the Matterport SDK to provide new features for your Matterport Spaces.
For a list of all supported MPEmbed Parameters, please visit the MPEmbed Documentation Page:
MPEmbed Documentation
pin

0 – Disable 360 Placement Pins in Dollhouse / Floorplan Mode (undocumented)

portal

0 – Disable 360 Placement Portals in Walkthrough Mode (undocumented)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon