This documentation shows how you can customize ReleaseWire news widgets. For setup instructions and a list of the different widgets ReleaseWire offers check out our getting started guide.
Customizing News Widgets
ReleaseWire News Widgets are customized by added one or more HTML data-* attributes. These attributes must be defined in the "rwire-widget" div tag.
<div class="rwire-widget" data-rww-(option)="(value)"</div>
Element | Description | Default |
---|---|---|
data-rwp-title | Sets the title of the widget | Latest Press Releases |
data-rww-nostyle | Removes the style options from the iFrame | false |
data-rww-noimages | Disables the inclusion of images such as logos | false |
data-rwp-viewmore | Show the "View More" link at the bottom | true |
data-rwp-getlink | Show the "Get This Widget" long at the bottom | true |
data-rwp-rwlogo | Includes ReleaseWire's logo at the bottom | true |
Examples
Remove the "View More Link":
<div class="rwire-widget"
data-rww-viewmore="false"
data-rww-type="company" data-rww-id="2500"></div>
Remove the "Get This Widget Link":
<div class="rwire-widget"
data-rww-getlink="false"
data-rww-type="company" data-rww-id="2500"></div>
Remove ReleaseWire's logo from the bottom:
<div class="rwire-widget"
data-rww-rwlogo="false"
data-rww-type="company" data-rww-id="2500"></div>
Customize the title of the widget:
<div class="rwire-widget"
data-rww-title="Our Press Releases"
data-rww-type="company" data-rww-id="2500"></div>