开发者 | AlertWire |
---|---|
更新时间 | 2017年1月6日 07:49 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 4.7 |
版权: | GPLv2 |
<script>
tag will be inserted into the document being rendered.
How AlertWire Works
data-token
configured, typically added to the bottom of the page body
tag.data-token
specified.data-token
value provided on the site-setup page from the AlertWire system./wp-content/plugins/
.data-token
value provided on the site-setup page from the AlertWire system.div
tag and the CSS generated is scoped via a nonce-based id. It should never interact with any styling on your page
but you might need to provide a placement anchor-element to ensure your site CSS doesn't hide the alert. The script snippet allows you to specify a container div
to act as the parent for the injected alerts in case you need to adjust them around header or navigation elements.Since the AlertWire javascript client-side plug-in is long-cached, it has built-in ability to update itself to a new version. This is triggered by a version-requirement declared in the JSON response and is completely automatic.
The plug-in is free and use is included in the cost of an AlertWire system. For more information about AlertWire.
Since the script does essentially nothing if there are no alerts configured for the site, your script will just silently keep working and display nothing.