Liveblog Tag Parameters

Required Parameters

These are the most basic parameters that must always be specified

clientId: string

ID of the API Client to use. Can be found in Pro settings.

liveblogId: string

ID of the Liveblog to Embed. Can be found in Pro.

Theme

themeId: string

ID of the theme to use. Create themes in pro (Settings -> Widgets) to preconfigure display options and colors.

Display Options

All display options are optional. If specified they override options set in the selected theme. If no theme is specified the default value is used as described.

locale: "" (default) | "de" | "en" | "en-gb"

Specify the language to use for buttons and date formats. Omitting or empty string try will to autodetect using html tag and navigator language

refresh: "notify" (default) | "auto" | "off"

Should the liveblog poll for new entries.

  • notify will poll and show a button when new entries are available
  • auto` will poll and update the liveblog directly
  • off wil not poll

This option has no effect in AMP

sort: "desc" (default) | "asc"

Order of liveblog entries. Default is newest at the top

limit: number (default = 15)

How many liveblog entries to display (and to load for pagination)

deepLinkLimit: number (default = 50))

If a deep link is triggered: How many liveblog entries down will be loaded via ‘more’ mechanism before deep linking logic is triggered

See Deep Linking for an explanation of this parameter

deepLinkDepth: number (default = 0))

How many liveblog entries to display above a post that is navigated to by deep link

See Deep Linking for an explanation of this parameter

See Consent Handling for an explanation of this parameter

This option has no effect in AMP

See Consent Handling for an explanation of this parameter

This option has no effect in AMP

customerConsent: boolean (default: false)

See Consent Handling for an explanation of this parameter

This option has no effect in AMP

useSlideshow: boolean (default = true)

If true images in the liveblog will display a bigger version in an overlay if clicked.

sharing: "off" (default) | "compact" | "expanded"

Show sharing buttons on every liveblog entry

  • “compact” will display a button hiding the sharing options
  • “expanded” will always show all the sharing options
  • “off” will not display any sharing options
layout: "default" (default) | "timeline" | "masonry"`

Select the main layout for your liveblog.

layoutAuthorPosition: "top" (default) | "bottomLeft" | "bottomRight" | "off"

Specify where the author of a liveblog entry should be shown

colorScheme: "light" (default) | "dark" | "auto"

This controls support for dark mode.

  • “light” force light mode
  • “dark” force dark mode
  • “auto” automatically select based on the users settings
styleUseCards: boolean (default = false)

Visually splits up liveblog entries into cards

styleInvertTime: boolean (default = false)

Invert the background and text colors of the liveblog entry post date and time (light <-> dark)

styleInvertHighlightEvents: boolean (default = false)

Invert the background and text colors of a highlight liveblog entry post (light <-> dark)

styleInvertStickyEvents: boolean (default = false)

Invert the background and text colors of a sticky liveblog entry post (light <-> dark)

commentsMode: "default" (default) | "disabled"

This controls how comments are displayed:

  • “default”: Display highlight comments inline and everything else in an overlay
  • “disabled”: Display no comments at all
useCookies: "all" (default) | "functional" |"none"

This controls what cookie purposes are used:

  • “all”: Will use cookies for functional and analytics purposes
  • “functional”: Will only use cookies fur functional purposes
  • “none”: Will not use cookies

Color Options

All color options are optional. They will set CSS variables also affecting custom CSS styles. Colors need to be specified in CSS Hex Format “#xxxxxx”. For more Information on colors and CSS variables please refer to Styling.

stylePrimaryColor: string with format #xxxxxx

Set CSS Variable --t4-primary--on-l

stylePrimaryColorDark: string with format #xxxxxx

Set CSS Variable --t4-primary--on-d

styleSecondaryColor: string with format #xxxxxx

Set CSS Variable --t4-secondary--on-l

styleSecondaryColorDark: string with format #xxxxxx

Set CSS Variable --t4-secondary--on-d

styleTextColor: string with format #xxxxxx

Set CSS Variable --t4-txt--on-l

styleTextColorDark: string with format #xxxxxx

Set CSS Variable --t4-txt--on-d

styleTextMutedColor: string with format #xxxxxx

Set CSS Variable --t4-txt-muted--on-l

styleTextMutedColorDark: string with format #xxxxxx

Set CSS Variable --t4-txt-muted--on-d

styleBgColor: string with format #xxxxxx

Set CSS Variable --t4-bg--on-l

styleBgColorDark: string with format #xxxxxx

set --t4-bg--on-d

styleEventHighlightBgColor: string with format #xxxxxx

Set CSS Variable --t4-ev-inplace-bg--on-l

styleEventHighlightBgColorDark: string with format #xxxxxx

Set CSS Variable --t4-ev-inplace-bg--on-d

styleEventStickyBgColor: string with format #xxxxxx

Set CSS Variable --t4-ev-sticky-bg--on-l

styleEventStickyBgColorDark: string with format #xxxxxx

Set CSS Variable --t4-ev-sticky-bg--on-d