內容簡介
WP-TagMyCode 插件可以讓您在 WordPress 的部落格上插入嵌入式 TagMyCode 程式碼片段。
此外掛程式會插入一個 iframe,用來展示程式碼片段的內容。
使用說明
您可以使用這個簡單的短碼嵌入您的程式碼片段:
[tagmycode SNIPPET_ID WIDTH HEIGHT]
參數說明
SNIPPET_ID(必要)- 是程式碼片段的 ID,例如 36
WIDTH(可選)- 寬度以像素或百分比表示,預設值為 100%。
HEIGHT(可選)- 高度以像素或百分比表示,預設值為 500px。
範例
[tagmycode 36]
[tagmycode 36 100%]
[tagmycode 36 600px]
[tagmycode 36 100% 400px]
外掛標籤
開發者團隊
原文外掛簡介
WP-TagMyCode plugin enables you to insert embedded TagMyCode snippets on your WordPress blog.
This plugin insert an iframe that shows the content of the snippet.
How to use
You can embed your snippet simply using this shortcode:
[tagmycode SNIPPET_ID WIDTH HEIGHT]
Parameters
SNIPPET_ID (required) – is the snippet id, e.g. 36
WIDTH (optional) – width in pixel or percent, default value is 100%.
HEIGHT (optional) – height in pixel or percent, default value is 500px;
Examples
[tagmycode 36]
[tagmycode 36 100%]
[tagmycode 36 600px]
[tagmycode 36 100% 400px]
