Social Rail documentation - WordPress version
|sr site="fb" type="base" id="156149777783739" options="comments:false,limit:3"]
|sr site="fb" type="slider" id="156149777783739" options="comments:false,limit:4"]
|sr site="fb" type="carousel" id="156149777783739" options="minWidth:130,numItems:2,limit:8,comments:false,media:false,message_length:75"]
|sr site="fb" type="scroll" id="156149777783739" options="limit:8,mobileDisabled:true"]
|sr site="tw" type="base" id="twitter" options="count:10"]
|sr site="tw" type="slider" id="twitter"]
|sr site="tw" type="carousel" id="twitter" options="minWidth:130,numItems:2,count:20,length:100,hideReplies:true"]
|sr site="tw" type="scroll" id="twitter" options="count:8,mobileDisabled:true"]
data-token=""
of the component.Shortcode | Value | Example | Description |
---|---|---|---|
site | fb - tw | site="fb" | Select the stream type, Facebook or Twitter |
type | empty - base - slider - carousel - scoll | type="slider" | Set the stream type |
style | boxed - dark - boxed dark | style="boxed" | Set the design |
options | List of options | options="minWidth:130,numItems:2" | This attribute accept all the options listed below on this page |
trigger | manual | style="manual" | If setted the stream is not activated automatically but must be activated via Javascript, go to http://www.socialrail.info/doc/#options for more details |
height | Integer, .class, #ID, fullscreen | height="350" | *Only for Scroll Box type, set the box height |
offset | Integer | offset="50" | *Only for Scroll Box type, set the box offset if the height is automatic |
options=""
.