Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

The Twitter Widget shortcode (uwsa_twitter) allows you to add a Twitter Widget to your page.

The Zuse also has a Twitter module available, but this module uses the twitter API and requires that you log in as the user of the Twitter feed you want to embed and generate keysalso uses this shortcode. This Twitter widget shortcode allows you to embed any public Twitter timeline. 


Note

This shortcode is not enabled by default. It must be enabled by an admin on each community site that will use it.

Required Attributes

id

This is the Widget ID. You must log into Twitter and generate a Twitter Widget to get this ID. Use the Light theme and use #990033 as the Link Color.

...

username

This is the username of the twitter user. It is used for the backup link in the case that the widget timeline is not generated on the page correctly.

...

Control if the scrollbar displays.

Default: no scrollbar

id

This is the Widget ID. You must log into Twitter and generate a Twitter Widget to get this ID. You only need to use this parameter if you need to override some widget settings for some reason. Use the Light theme and use #990033 as the Link Color.

Look at the HTML generated by Twitter, and copy the data-widget-id attribute into the id attribute of the uwsa_twitter shortcode.

Examples

[uwsa_twitter id="661623045329707009" username="UWFlexOption" /]

 


[uwsa_twitter border="true" header="true" scrollbar="true" footer="true" tweetlimit="7" id="661623045329707009" username="UWFlexOption" /]