Small collection of shortcodes for displaying advice boxes.
用于显示建议框的短代码小集合。 p>
This is only a plugin which enables shortcodes for advice boxes.
这只是一个为建议框启用短代码的插件。 p>
[advice_box type=”positive”]YOUR TEXT[/advice_box] – calls a green advice box [advice_box type=”negative”]YOUR TEXT[/advice_box]
[advice_box type =“ positive”]您的文本[/ advice_box] em> –调用一个绿色的建议框 [advice_box type =“ negative”]您的文本[/ advice_box] em > – calls a red advice box [advice_box type=”info”]YOUR TEXT[/advice_box] – calls a grey advice box
> –调用红色的建议框 [advice_box type =” info”]您的文本[/ advice_box] em> –调用灰色的建议框 p>For adding a close button you can use this shortcode: [advice_box type=”info” close=”true”]YOUR TEXT[/advice_box] – calls a grey advice box with a close button
要添加关闭按钮,您可以使用以下短代码: [advice_box type =” info” close =“ true”]您的文本[/ advice_box] em> –调用带有关闭按钮的灰色建议框, which removes the adive box from DOM.
,这会从DOM中删除adive框。 p>
If you have any issue, report them in our GitHub Issue System: https://github.com/mapodev/advice-box
如果有任何问题,请在我们的GitHub发行系统中进行报告:https://github.com/mapodev/advice-box p>