內容簡介
```html
<!DOCTYPE html>
<html>
<body>
<h3>WordPress 外掛介紹:</h3>
<p>透過我們的使用者友善外掛,提升您的內容創作之旅,無縫地將 iframe 整合到內容中,帶來更流暢的體驗。</p>
<h4>使用方式:</h4>
<ul>
<li>僅需使用 [embedx] 短代碼,加上 src 屬性。例如 [embedx src="https://wordpress.org"]</li>
<li>您也可以使用其他參數(width, height, style, class)。</li>
</ul>
<h4>參數說明:</h4>
<ul>
<li>width: 設置寬度(例如 width="100%")</li>
<li>height: 設置高度(例如 height="100%")</li>
<li>style: 添加 CSS 樣式(例如 style="overflow:hidden; height:220px;")</li>
<li>class: 添加 CSS 類別(例如 class="yourclass")</li>
<li>login: 將顯示給已登入使用者的 iframe 資料。預設值為 false(例如 login="true")</li>
</ul>
</body>
</html>
```
```plaintext
在WordPress外掛中,如何使用iframe整合外掛到內容中?
- 簡單使用[embedx]短代碼,加上src屬性,例如[embedx src="https://wordpress.org"]
可以使用哪些參數?
- 可以使用width、height、style和class參數。
如何設置iframe的寬度和高度?
- 使用width屬性設置寬度,使用height屬性設置高度。
如何為iframe添加CSS樣式和類別?
- 使用style屬性添加CSS樣式,使用class屬性添加CSS類別。
如何顯示給已登入使用者的iframe資料?
- 將login屬性設置為true,預設值為false。
```
外掛標籤
開發者團隊
原文外掛簡介
Elevate your content creation journey with our user-friendly plugin, seamlessly integrating iframes into the content for a smoother experience.
Usage
Simply use [embedx] shortcode with src attribut.Example [embedx src=”https://wordpress.org”]
you can also use other parameter (width,height,style,class).
— width
for set width (ex width=”100%”)
— height
for set height (ex height=”100%”)
— style
for add css style (ex style=”overfollow:hidden;height:220px;”)
— class
for add css class (ex class=”yourclass”)
— login
it will show iframe data for logged in user.Default is false (ex login=”true”)
