內容簡介
這個短碼需要小工具的ID,但不需要猜測,外掛會為你生成代碼。如果你想要覆蓋小工具的標題,你可以使用 "title" 參數:
[widget id=”text-1″ title=”New title”]
如果需要的話,你也可以完全隱藏小工具的標題:
[widget id=”text-1″ title=”0″]
其他參數:
container_tag:小工具容器使用的HTML標籤,預設:div
container_class:添加到小工具容器的CSS類名,預設:widget %2$s(注意:使用sprintf進行變數取代)
container_id:小工具容器的HTML ID屬性,預設:%1$s(注意:使用sprintf進行變數取代)
title_tag:小工具標題包裝使用的HTML標籤,預設:h2
title_class:小工具標題包裝的CSS類名,預設:widgettitle
外掛標籤
開發者團隊
原文外掛簡介
The shortcode requires the widget ID, but no need to guess, the plugin generates the code for you. To override the widget title for a widget you can use the “title” parameter:
[widget id=”text-1″ title=”New title”]
You can also hide the widget title entirely if desired:
[widget id=”text-1″ title=”0″]
Additional Parameters:
container_tag: the HTML tag to use for the widget container, default: div
container_class: CSS classname added to the widget container, default: widget %2$s (Note: uses sprintf for variable substitution)
container_id: HTML ID attribute for the widget container, default: %1$s (Note: uses sprintf for variable substitution)
title_tag: HTML tag to use for the widget title wrapper, default: h2
title_class: CSS classname for the widget title wrapper, default: widgettitle
