1. Home
  2. Docs
  3. Social Feeder
  4. Features
  5. Shortcode

Shortcode

shortcode

Use shortcode socialfeeder to display your social feed within any content.

Default display

By default, the shortcode will display in vertical direction , and with the limit and theme set in the plugin settings.

Parameters

Parameter Data type Description

limit

number

Limits the amount of feed information to display in feeder.

direction

string

Indicates the display direction of the feeder. Where "row" will display the items horizontally and "column" will display them vertically.

width

string

Indicates the maximum width each feed item can have. This is useful if you wish to indicate the width of each column. Value can be in pixels (i.e. "150px") or percentage (i.e. "25%").

height

string

Indicates the maximum height each feed item can have. This is useful if you wish to indicate the height of each column. Value can be in pixels (i.e. "150px") or percentage (i.e. "25%").

Sample

Following sample will use socialfeeder limit=3 direction=”row” width=”33.33%”.

Was this article helpful to you? Yes No 1