
內容簡介
總結:這是一個用於 thirdweb 的社群 WordPress 外掛。使用 thirdweb 能快速輕鬆地將您的 WordPress 網站轉換為 Web3。🚀💻🧩
問題與答案:
1. 如何啟用 thirdweb WP 外掛?
- 前往您的 WordPress 管理後台。
- 點選「設定」>「thirdweb WP」。
- 儲存您的 thirdweb 引擎 URL 和存取權杖。
- 點擊「儲存變更」。
- 完成設定!🎉
2. 如何在 WordPress 網站上保存預設或全域地址和鏈?
- 前往「設定」>「thirdweb WP」。
- 填入「預設合約地址」和「預設鏈」字段。
- 點擊「儲存變更」以保存您的設定。
3. 如何使用 [twcontract] 短代碼讀取合約地址?
- 輸入 [twcontract address="0x00..." chain="84531" function="tokenURI:0"]。
4. 多功能代碼的屬性有哪些?
- address – 合約地址。
- chain – 鏈的名稱或 ID。
- function – 函數名稱和參數。
(請注意:對於單個參數,可使用 functionName:arg1,對於多個參數,可使用 functionName:arg1,arg2)。
外掛標籤
開發者團隊
原文外掛簡介
A community WordPress plugin for thirdweb. Turn your WordPress website into Web3 instantly and easily with thirdweb. 🚀💻🧩
Setup
Go to your WordPress admin dashboard.
Go to Settings > thirdweb WP.
Save your thirdweb Engine URL and Access Token.
Click Save Changes.
You’re all set! 🎉
Note: You can also save your default or global address and chain across your wordpress site. Just go to Settings > thirdweb WP and fill the Default Contract Address and Default Chain fields. Click Save Changes to save your settings.
Usage
Reading contract address using [contract] shortcode.
[contract address="0x00..." chain="84531" function="tokenURI:0"]
Shortcode Attributes
– address – The contract address.
– chain – The chain name or ID.
– function – The function name and arguments.
Note:
functionName:arg1 for single argument.
functionName:arg1,arg2 for multiple arguments.
More features coming soon…
